pycairo icon indicating copy to clipboard operation
pycairo copied to clipboard

Python bindings for cairo

Results 79 pycairo issues
Sort by recently updated
recently updated
newest added

```py import cairo with cairo.SVGSurface("example.svg", 200, 200) as surface: context = cairo.Context(surface) context.move_to(100, 200) print(context.get_current_point()) context.save() context.move_to(300, 400) print(context.get_current_point()) context.restore() print(context.get_current_point()) ``` This prints: ``` (100.0, 200.0) (300.0, 400.0) (300.0,...

I have a strange behaviour with a SVG file produced from https://www.geeksforgeeks.org/pycairo-displaying-text/ The svg produced is correctly displayed from different browsers (Google Chrome, Firefox) and Inkscape but not from Adobe...

Looking at https://github.com/pygobject/pycairo/blob/master/docs/integration.rst -- this is a clear and helpful page. But following the instructions for pygame, I had issues with green and blue being invisible! It turns out, at...

- Closes https://github.com/pygobject/pycairo/issues/242. - Use a prebuilt version of Cairo from https://github.com/pygobject/cairo-win-build, https://github.com/pygobject/cairo-win-build/releases/tag/1.17.6. It's a static build of Cairo. - Use pkg-config for finding build flags even on Windows/MSVC compiler....

In python 3.8, windows 10 x64, pycairo 1.20.1: ```python import cairo with cairo.PDFSurface("example2.pdf", 200, 200) as surface: pass surface = cairo.PDFSurface("example.pdf", 200, 200) surface.finish() ``` The call with the context...

Looks like on using pep517 based build prpocedure devel resources are not installed. Content of the generated .whl archive ```console Archive: /home/tkloczko/rpmbuild/BUILD/pycairo-1.21.0/dist/pycairo-1.21.0-cp38-cp38-linux_x86_64.whl Length Method Size Cmpr Date Time CRC-32 Name...

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...

When proposing an update for pycairo to 1.21.0 on my distribution another developer raised the question whether pycairo follows a similar versioning scheme as cairo itselt with even minors being...

```bash pip install -U pycairo Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (1.16.2) Collecting pycairo Using cached pycairo-1.21.0-cp310-cp310-linux_x86_64.whl Installing collected packages:...

According to the documentation, it is currently not possible to create an instance of `XlibSurface`, which must be returned, e.g., by Gtk. I was wondering if there is a particular...

enhancement