[cairo] Ellipse stroke

cecashon at aol.com cecashon at aol.com
Sat Nov 18 19:50:45 UTC 2017


 
Very nice demo. I tried firefox, chrome and ie at the library. Firefox and chrome draw the same as the C++ program using cairo and nothing is drawn in ie.

This is a test drawing program that might be of interest but suffers from the same lack of simplicity problem as the clocks.

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

If you change the global variable "line_width" to 100, you can see what the arc, drawn with circular points and bezier points,  looks like in the initial drawing. You can delete points also to see how it changes or drag points and transform them. You could start with eliptical points. Also the drawing can be output to svg and tested in a web browser. Some general drawing ideas I was trying out.

Yes, an elliptical function would be easier and useful but I think that it would need to operate in the same sort of way by connecting points in a path.


Eric


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


More information about the cairo mailing list