How to draw quadratic bezier curve in GDI?http://forums.asp.net/t/1787224.aspx?How+to+draw+quadratic+bezier+curve+in+GDI+Tue, 17 Apr 2012 22:39:08 -040017872244907985http://forums.asp.net/p/1787224/4907985.aspx?How+to+draw+quadratic+bezier+curve+in+GDI+How to draw quadratic bezier curve in GDI?
<p>Hi,</p>
<p>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?</p>
<p>Thanks in advance.</p>
<p></p>
2012-03-30T10:29:02-04:004937454http://forums.asp.net/p/1787224/4937454.aspx?Re+How+to+draw+quadratic+bezier+curve+in+GDI+Re: How to draw quadratic bezier curve in GDI?
<p>I came across your question looking for the answer myself... I found it on this page:</p>
<p><a href="http://intepid.com/?m=200303&paged=2">http://intepid.com/?m=200303&paged=2</a></p>
<p>However, incase for some reason that link doesn't work heres the relevant bit.</p>
<p>"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]. "</p>
2012-04-17T22:39:08-04:00