[cairo] set a reverse clip

zaheer ahmad zaheer.mot at gmail.com
Tue Sep 8 00:18:20 PDT 2009

i have two rectangles A and B that may or may not intersect. If they do
intersect (lets say C), i would like a cairo clip on A such that only C is
masked out from the drawing and the rest of A gets drawn. how can i do that.
i dont seem to find a reverse of cairo_clip, something like
cairo_set_source_surface(A), cairo_rev_clip(B). Appreciate any pointers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090908/034bb3f3/attachment.html 

More information about the cairo mailing list