[cairo] How to trim a path?

zwcloud tmp111 at yeah.net
Mon Aug 1 07:54:06 UTC 2016


Hi there,
For eample, here is a path (the red border is not included):
After triming it, the path becomes:
I need to trim the path, not the rendered picture. The path may be generated by arcs, curves and line segments.
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20160801/f289e96f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2016-08-01_15-24-40.png
Type: image/png
Size: 890 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20160801/f289e96f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2016-08-01_15-24-40_.png
Type: image/png
Size: 724 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20160801/f289e96f/attachment-0001.png>


More information about the cairo mailing list