How to trim a path?

zwcloud <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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?

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
2016-08-01_15-24-40.png (image/png, 890 B) - not displayed
2016-08-01_15-24-40_.png (image/png, 724 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.