Re: Length of bezier curve

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
 

 
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

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
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.