I need to enable the user to edit the shape of Bezier Curves via its end points and control points. The issue is that I can't get the control points to appear and even though I pass 4 points into the Bezier contstructor (see snippet bleow) it appears that the first and second points are treated as endpoints and the rest of the points are ignored.
How do I get the control points to appear?
Why are the third and fourth points ignored?
Most bezier curve editors also support optional drawing of lines between the endpoints and control points. Is there a way to draw the lines?
//Create some points
var points = new List
();
points.Add(new PointF(0, 0));
points.Add(new PointF(50, 100));
points.Add(new PointF(90, 140));
points.Add(new PointF(100, 800));
//Create the bezier curve and add it to the diagram
Curve = new BezierCurve(points.ToArray());
diagram1.Model.AppendChild(Curve);