[cairo] Length of bezier curve

Plugin Everything jameswhiffin at gmail.com
Thu Jan 4 10:08:03 UTC 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20180104/1e13cc5a/attachment.html>


More information about the cairo mailing list