Re: Group surface size

Donn <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.