[cairo] API proposal: cairo_copy_clip() and cairo_copy_clip_flat()
Behdad Esfahbod
behdad at behdad.org
Mon Apr 30 18:42:35 PDT 2007
As was raised in recent discussion on list, there is no
cairo_copy_clip() currently. Since we added
cairo_copy_clip_rectangle_list() in 1.4 that may return
CAIRO_STATUS_CLIP_NOT_REPRESENTABLE, it's reasonable to add
cairo_copy_clip() to compliment that and give user full access to set
clip.
Also to follow cairo_copy_path() example, a cairo_copy_clip_flat() may
be added that flattens curves into line segments using current tolerance
setting (?).
Comments? Patch?
--
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