[cairo] Group surface size

Donn donn.ingle at gmail.com
Tue May 14 03:22:32 PDT 2013


On 14/05/2013 12:07, Chris Wilson wrote:
> The group takes the size (and location) of the current clip extents.
Does this mean I should set a clip before I call push_group? Something like:

cairo_save()
draw a rectangle of 16x16 at correct position
cairo_clip()
cairo_push_group()
draw my icon
pat = cairo_pop_group()
cairo.restore()



\d


More information about the cairo mailing list