[cairo] Questions and optimizations in cairo-arc

Behdad Esfahbod behdad at cs.toronto.edu
Tue Jul 26 08:54:36 PDT 2005


On Tue, 26 Jul 2005, Jason Dorje Short wrote:

> Behdad Esfahbod wrote:
>
> > A viable signature would be:
> >
> > void
> > cairo_arc_to (cairo_t *cr,
> >               double x, double y,
> >               double radius);
> >
> > and draws the unique arc with the specified radius that connects
> > the current point to x,y.  This still has the problem that it is
> > not the '_to' version of cairo_arc.
>
> But that's not sufficient because you need to know in which direction
> the arc arcs.

Right.  Then we need cairo_arc_to and cairo_arc_negative_to...


> -jason

--behdad
http://behdad.org/



More information about the cairo mailing list