[cairo-bugs] [Bug 55836] cairo_region cannot be used with CLIP, as NO public API is exposed to use it in cairo_context/surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 10 04:04:31 PDT 2012


--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
What you want is a cairo_append_region() convenience function:

for (i in cairo_region_num_rectangles())
  cairo_rectangle(cr, cairo_region_get_rectangle(i));

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121010/cd0a0fd1/attachment.html>

More information about the cairo-bugs mailing list