[cairo] [PATCH] Path clipping

Kristian Høgsberg krh at bitplanet.net
Fri Jun 3 12:29:47 PDT 2005


Hi,

Here's a patch to implement clip-to-path functionality.  With this, the 
clipping parts of cairo snippets now work with the PDF backend.  The 
patch should be straight forward; the current clip path is stored as a 
linked list of cairo_clip_path_t's which store the actual path, the fill 
rule and the tolerance.  These are reference counted since several 
cairo_gstate_t's can share a subset of these.  In the PDF backend I'm 
reusing the path iteration code already in place for fill_path.

cheers,
Kristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: path-clipping.patch
Type: text/x-diff
Size: 21202 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050603/0580bae5/path-clipping.bin


More information about the cairo mailing list