<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 1, 2016 at 12:54 AM, zwcloud <span dir="ltr"><<a href="mailto:tmp111@yeah.net" target="_blank">tmp111@yeah.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi there,</div><div>For eample, here is a path (the red border is not included):</div><div><img src="cid:44892be2$1$15645187741$Coremail$tmp111$yeah.net" style="line-height:1.7;width:64px;min-height:64px;border:none"></div><div>After triming it, the path becomes:</div><div><img src="cid:9a02595$2$15645187741$Coremail$tmp111$yeah.net" style="line-height:1.7;width:40px;min-height:19px;border:none"><span style="line-height:1.7"></span></div><div>I need to trim the path, not the rendered picture. The path may be generated by arcs, curves and line segments.</div><div>Any ideas?</div></div></div></blockquote><div><br></div><div>cairo_path_extents()?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="https://lists.cairographics.org/mailman/listinfo/cairo" rel="noreferrer" target="_blank">https://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>
</div></div>