Re: Ellipse stroke

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
 
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

-- 
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.