Last post Apr 17, 2012 05:39 PM by sappy00
Mar 30, 2012 05:29 AM|vytautas.ziurlis|LINK
As you know Graphics.DrawBeziers can be used to draw cubic Bezier curve (i.e. with two control points). However I need to draw a quadratic Bezier curve (single control point), is there a built in method for this in .NET framework?
Thanks in advance.
Apr 17, 2012 05:39 PM|sappy00|LINK
I came across your question looking for the answer myself... I found it on this page:
However, incase for some reason that link doesn't work heres the relevant bit.
"quadratic bezier of the form [P1, C, P2] (where C is the control point) you can form an equivalent cubic bezier with [P1, (C*2/3 + P1 * 1/3), (C*2/3 + P2 * 1/3), P2]. "