[cairo] a quadratic Bézier curve

Behdad Esfahbod behdad at behdad.org
Tue Apr 13 10:23:46 PDT 2010


On 04/13/2010 12:57 PM, Roman Beslik wrote:
> Thank you all. Maybe this should be in FAQ because I found the same
> question
> http://lists.cairographics.org/archives/cairo/2009-October/018349.html

Or in the docs for cairo_curve_to?

> On 13.04.10 19:35, Simon Budig wrote:
>>    cairo_curve_to (cr,
>>                    2.0 / 3.0 * x1 + 1.0 / 3.0 * x0,
>>                    2.0 / 3.0 * y1 + 1.0 / 3.0 * y0,
>>                    2.0 / 3.0 * x1 + 1.0 / 3.0 * x2,
>>                    2.0 / 3.0 * y1 + 1.0 / 3.0 * y2,
>>                    x2, y2); /* !!! */
>>    
> 


More information about the cairo mailing list