[cairo] Nit about [cairo_curve_to] with no current point

Carl Worth cworth at cworth.org
Mon Jun 2 08:37:51 PDT 2008


On Sun, 01 Jun 2008 19:11:31 -0400, Behdad Esfahbod wrote:
>
> The docs say (and code does):
>
>  * If there is no current point before the call to cairo_curve_to()
>  * this function will behave as if preceded by a call to
>  * cairo_move_to(@cr, @x1, @y1).
>
> But that sounds quite undesirable to me.  Compatibility aside, should it
> have been cairo_move_to(@cr, @x3, @y3) instead?

What?

Why would you want a curve from x3,y3 through x1,y1 then x2,y2 and
back to x3,y3?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080602/195699db/attachment.pgp 


More information about the cairo mailing list