[cairo] Elliptical Arcs

James Cloos cloos at jhcloos.com
Fri Mar 28 13:12:37 PDT 2008


>>>>> "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?

(At least for bindings if not for libcairo itself.)

If so, what args should such a cario_eliptical_arc() take?

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the cairo mailing list