[cairo] Is cairo_clip_extents() a getter?

Behdad Esfahbod behdad at behdad.org
Thu Mar 22 20:44:29 PDT 2007


On Thu, 2007-03-22 at 16:54 -0400, Murray Cumming wrote:
> cairo_clip_extents() was added in cairo 1.4. Is it just a getter that
> doesn't affect the cairo context?

Semantically, yes.  Internally, probably no.

> http://cairographics.org/manual/cairo-cairo-t.html#cairo-clip-extents
> 
> It's suspiciously similar to the existing cairo_clip() and
> cairo_clip_preserve() functions. 

Think about it like cairo_fill/stroke/font/text/glyph_extents().

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list