[cairo] Howto draw quadratic curves with cairo?

Sebastien Pouliot sebastien at ximian.com
Fri Oct 16 10:06:15 PDT 2009


Hello Clemens,

We have such code inside Moonlight
http://anonsvn.mono-project.com/viewvc/trunk/moon/src/moon-path.c?revision=127537&view=markup

Sebastien

On Fri, 2009-10-16 at 12:25 -0400, Clemens Eisserer wrote:
> Hi,
> 
> I would like to use cairo for drawing quadratic bezier curves, however
> as as far as I saw cairo only supports cubic curves.
> I guess its not hard, but could anybody help me out howto create cubic
> curve parameters out of quadratic ones?
> 
> Thank you in advance, Clemens
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo



More information about the cairo mailing list