[cairo] Elliptical Arcs

Bill Spitzak spitzak at thefoundry.co.uk
Fri Mar 28 13:43:43 PDT 2008


James Cloos wrote:
>>>>>> "Adrian" == Adrian Johnson <ajohnson at redneon.com> writes:
> 
> Adrian> For example:
> 
> Adrian>     cairo_save (cr);
> Adrian>     cairo_scale (cr, 1, 2);
> Adrian>     cairo_arc (cr, 100, 100, 50, 0, 2*M_PI);
> Adrian>     cairo_restore (cr);
> Adrian>     cairo_set_line_width (cr, 10);
> Adrian>     cairo_stroke(cr);
> 
> Seems like a convenience function for that would be a reasonable
> addition, yes?

Or the "pen size is fixed at the time it is set" option!



More information about the cairo mailing list