[cairo] Length of bezier curve

cecashon at aol.com cecashon at aol.com
Thu Jan 4 18:53:47 UTC 2018


 

 
Hi James,

If you have the points to your curve, then you can get the bezier points for each segment and draw each segment a different color. What kind of curve are you drawing?

This program has a couple of different cairo drawings that you can experiment with. You can change the color of a curve segment in one of the drawings to see how it looks.

Eric

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/fish1.c


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20180104/d1d27f68/attachment.html>


More information about the cairo mailing list