cairo
Create PDF with (resized) PNG images using Pycairo - rescaling Surface issue
I have som PNG image links that I want to download, \"convert to thumbnails\" and save to PDF using Python and Cairo.[详细]
2023-03-28 16:21 分类:问答Getting a coordinate's pixel color from a GtkDrawingArea
T开发者_StackOverflow中文版he question pretty much sums my question. I\'ve a GtkDrawingArea and its surface (cairo_surface_t) has format CAIRO_FORMAT_INVALID (by default), i.e. \"no such format exists[详细]
2023-03-26 06:02 分类:问答Compiling Cairo with Qt support for MinGW
I have been trying to build cairo as a static library with support for cairo\'s experimental Qt features (I cannot use the official GTK binary releases). My Qt installation has no pkg-config within Mi[详细]
2023-03-25 18:59 分类:问答Can Cairo (the graphics library) be used to render mathematical formulas and pictures (latex style)?
Does it need any dependencies for full-fledged unicode character rendering, o开发者_如何学JAVAr can it read and render any platform\'s (Linux/Max/Windows) native font glyphs without much problems?[详细]
2023-03-22 14:08 分类:问答scale surface without blurring it
I try to scale an image derivedfrom a file, to any (sensible) scale. The problem is, cairo somhow autoblurrs it. How can I fix/remove it? The aim is to see the individual pixels.[详细]
2023-03-21 12:25 分类:问答Convert SVG to PNG in Python
How do I convert an svg to png, in Python? I am storing the svg in an instance of Strin开发者_高级运维gIO. Should I use the pyCairo library? How do I write that code?Here is what I did using cairosvg:[详细]
2023-03-18 09:45 分类:问答gjs cairo context drawing not displaying in clutter window
I\'m trying to get a simple cairo drawing drawn to a clutter window using the javascript bindings.My problem is, apart from half the functions being named slightly differently, is no matter what I try[详细]
2023-03-17 07:13 分类:问答Draw directly to the root window with PyCairo
I want to be able to draw directly to the root window in Python using Cairo. I have tested my code drawing on a fullscreened window, so I know that\'s not the issue. However, when I try to draw direct[详细]
2023-03-11 17:01 分类:问答how to install pycairo for python 3 on Ubuntu 10.04
i am trying to install pycairo 1.10.0 for use with my custom-build python 3.1. however, sudo /flower/bin/easy_install-3.1 pycairo[详细]
2023-03-10 02:29 分类:问答Installing cairo 1.8.6 on CentOS 5.6
I may be blind today, but I can\'t figure how to upgrade my 开发者_JS百科installed cairo 1.2.4 version on CentOS 5.6 to 1.8.6. Cannot find any reps providing the latest version of cairo.[详细]
2023-03-09 03:13 分类:问答