/// <summary>Append an quadric bezier segment to the current figure.</summary> /// <param name="control">The quadric bezier's control point coordinates.<see cref="System.PointD"/></param> /// <param name="end">The quadric bezier's end point coordinate.<see cref="System.PointD"/></param> public void AddQuadraticBezier(System.Windows.Point control, System.Windows.Point end) { X11QuadraticBezierPathSegment qb = new X11QuadraticBezierPathSegment(control, end); _elements.Add(qb); }
/// <summary>Append an quadric bezier segment to the current figure.</summary> /// <param name="xControl">The quadric bezier's control point x coordinate.<see cref="System.Double"/></param> /// <param name="yControl">The quadric bezier's control point Y coordinate.<see cref="System.Double"/></param> /// <param name="xEnd">The quadric bezier's end point x coordinate.<see cref="System.Double"/></param> /// <param name="yEnd">The quadric bezier's end point y coordinate.<see cref="System.Double"/></param> public void AddQuadraticBezier(double xControl, double yControl, double xEnd, double yEnd) { X11QuadraticBezierPathSegment qb = new X11QuadraticBezierPathSegment(xControl, yControl, xEnd, yEnd); _elements.Add(qb); }