cairo
Error with Python ctypes and librsvg
I\'m trying to wrap basic function of librsvg with ctypes for Python, but I\'m getting a segfault. C: // pycairo excerpt[详细]
2023-03-08 10:32 分类:问答Render cairo surface directly to OpenGL texture
I\'m using cairo (http://cairographics.org) in combination with an OpenGL based 3D graphics library. I\'m currently using the 3D library on Windows, but I\'m hoping to receive an answer that is platfo[详细]
2023-03-08 04:15 分类:问答What is the most performant way to implement zoom to a cairo-drawn canvas?
I have a wx.ScrolledWindow where is drawn on using cairo. I have implemented a zoom-functionality which right now redraws the whole content.[详细]
2023-03-07 00:58 分类:问答Is there a library to render Windows metafiles to a cairo surface?
I\'m trying to implement a PDF output target in an existing application which uses Windows metafiles (specifically, Aldus Placeable Metafiles) as one of its inputs. Is there a pre-existing library to[详细]
2023-03-04 12:30 分类:问答How to replace GDK_INCLUDE_INFERIORS?
Since most of the gdk_gc_* methods are deprecated in GTK+ 3, how does one paint on sub-windows using Cairo only? Below is a simple example of what I would like to achieve:[详细]
2023-02-26 18:50 分类:问答Why is Cairo messing with my Colors?
import cairo from PIL import Image as im orig_image = im.open(\'Camilla_Belle_photo_3.jpg\') #http://i56.tinypic.com/261i5cn.jpg[详细]
2023-02-24 08:39 分类:问答Image compositing
I have an album title of some music band. I want to draw it with some mask which will round the corners of image.[详细]
2023-02-22 03:49 分类:问答Problem with gdk.Pixbuf in gtk# Mono
I\'m creating a small drawing program in Mono gtk# and using the Cairo graphics library. I\'m coding and compiling on a MacOs X system. I have a drawable object which I put into Pixbuf at a certain ti[详细]
2023-02-21 02:36 分类:问答Can't install cairo with cabal on Windows - how to get pkg-config on win?
Configuring cairo-0.12.0... setup.exe: The program pkg-config version >=0.9.0 is required but it could not[详细]
2023-02-18 12:11 分类:问答Cairo (w/ Python): Is it possible to fill a Polygon with a transparent line?
Here\'s the code I\'m using right now: surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, *image.size) context = cairo.Context(surface)[详细]
2023-02-18 08:21 分类:问答