[cairo] Group surface size

Donn donn.ingle at gmail.com
Tue May 14 02:50:22 PDT 2013


Hi,
When doing cairo_push_group() and pop_group() - what is the size of the 
surface that gets popped?

For example - I'm on a 500x500 context. I want to draw a 16x16 icon 
(which I want to blit about the place later) so I push_group, draw the 
icon and then pop_group to a global pattern variable.
Later I set_source to the pattern and paint().

Is the pattern 500x500 or is it the extents of the icon as drawn, 16x16?

Am I even on the right track?

\d


More information about the cairo mailing list