<div dir="ltr">See:<br><a href="https://github.com/fonttools/fonttools/blob/master/Lib/fontTools/misc/bezierTools.py#L142">https://github.com/fonttools/fonttools/blob/master/Lib/fontTools/misc/bezierTools.py#L142</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 4, 2018 at 5:08 AM, Plugin Everything <span dir="ltr"><<a href="mailto:jameswhiffin@gmail.com" target="_blank">jameswhiffin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi. I'm drawing a bezier curve and want to only stroke a portion of it, 50% for example. So I'm using cairo_set_dash to do that, but I need to know the length of the curve for that to work. Does anyone know how to calculate the length of the bezier curve? Thank you. <div class="m_-3753090386661443842gmail_signature"><div dir="ltr"><div><font size="1"></font></div></div></div>
</div>
<br>--<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.<wbr>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>