[cairo] Ellipse stroke

cecashon at aol.com cecashon at aol.com
Wed Nov 15 04:22:39 UTC 2017


 
Hi Richard,

I don't have a solution for drawing with a cairo arc and a wide line. If you want to draw wide curves though, you can use bezier points. Get some circular or elliptical points and then get the bezier points for them. Then draw the curve. This gives you a lot of flexibility with what you might want to draw. As an example, I have some clocks at

https://github.com/cecashon/OrderedSetVelociRaptor/tree/master/Misc/CircularClocks

Some start as circles but can be deformed into an ellipse. There are some wide lines and a few other circular shapes there also.

Eric

 


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


More information about the cairo mailing list