[cairo] Nit about cairo_move_to with no current point

Behdad Esfahbod behdad at behdad.org
Sun Jun 1 16:11:31 PDT 2008


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?


-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list