Browse Source

Added QuadTo method

pull/306/head
Wiesław Šoltés 11 years ago
parent
commit
8c0ea13520
  1. 10
      src/Perspex.SceneGraph/Media/StreamGeometryContext.cs

10
src/Perspex.SceneGraph/Media/StreamGeometryContext.cs

@ -64,6 +64,16 @@ namespace Perspex.Media
_impl.BezierTo(point1, point2, point3);
}
/// <summary>
/// Draws a quadratic Bezier curve to the specified point
/// </summary>
/// <param name="control">The control point used to specify the shape of the curve.</param>
/// <param name="endPoint">The destination point for the end of the curve.</param>
public void QuadTo(Point control, Point endPoint)
{
_impl.QuadTo(control, endPoint);
}
/// <summary>
/// Draws a line to the specified point.
/// </summary>

Loading…
Cancel
Save