This is for anyone who's having trouble getting started with cairo. The documentation didn't give a good, complete example. That's why I wanted to share this.
I tried the solutions proposed in similary notes (How to create a gtkimage from a cairo context, How do I create a gtkimage from a cairo surface) but they didn'
I'm making drawings with the Haskell cairo binding and I want to align some object vertically. To do that, I need to know the width (the bounding box or partial
As the title says, I'm using mplcairo as the Matploblit backend. However, the saved files are too large compared to those using the default Matplotlib backend.