cairo
difficulties with installing/using Cairo / R 2.12.1
I have compiled R version 2.12.1 (2010-12-16) for my system (CentOS), and afterwards I installed Cairo_1.4-5.[详细]
2023-02-07 21:51 分类:问答Drawing any rectangle to a GTK+ DrawingArea fills the whole DrawingArea
I have a GTK+ DrawingArea that should display a rectangle in the top left corner. When I draw the rectangle using Cairo, the whole drawing area is filled with the color of the rectangle. How can I pre[详细]
2023-02-06 11:35 分类:问答drawing part of an image to a cairo surface
I am using pygtk and cairo(...wonderful stuff I must say. Thanks to all) I am wondering how to present parts of images on my my cairo surface on a large drawingarea.[详细]
2023-02-04 22:28 分类:问答How to unit test a Python function that draws PDF graphics?
I\'m writing a CAD application that outputs PDF files using the Cairo graphics library. A lot of the unit testing does not require actually generating the PDF files, such as computing the expected bou[详细]
2023-02-04 02:15 分类:问答Why do fonts in Pango change weight when text is rotated in Cairo?
I\'m having a problem with Pango rendering under a rotated matrix. I\'m attempting to draw a label (see code below) which happens inside of an animating Cairo matrix rotation.[详细]
2023-01-30 04:46 分类:问答AffineTransform in gtk
I need to undergo some affinetransformation operation using gtk framework. i found cairo but that does not solve my requirements. i need to crate transformation object and undergo some operations as[详细]
2023-01-29 05:31 分类:问答How to write contents of a Cairo Image surface into a Gdk Pixbuf?
I have a canvas(Gdk Drawing Area), which开发者_如何转开发 I can draw into it using Cairo, but I need to save contents of my canvas into a buffer which in my case is a Gdk Pixbuf. I want to know if it\[详细]
2023-01-27 09:08 分类:问答How to do off-screen drawing using Cairo in Gtk+?
I\'m trying to do my drawing stuff in an Cairo Image Context. Is there a way to load the content of the Image context to a Cairo Context on expose event?[详细]
2023-01-26 23:38 分类:问答(py)cairo - fill
is there a way to fill everyt开发者_运维问答hing outside of a closed path (polygon)? Background: I\'d like to render some maps with coastlines - so sometimes I need to fill the sea with blue color, s[详细]
2023-01-25 13:02 分类:问答How can I draw image with rounded corners in Cairo/Gtk?
How can I draw image with rounded corners in Cairo/Gtk? In any languag开发者_运维问答e.Ok, it\'s realy simple. Here is vala code:[详细]
2023-01-24 22:19 分类:问答