public void AddBezier(PointF pt1, PointF pt2, PointF pt3, PointF pt4) { Status status = GDIPlus.GdipAddPathBezier(nativePath, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y); GDIPlus.CheckStatus(status); }
public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { Status status = GDIPlus.GdipAddPathBezier(nativePath, x1, y1, x2, y2, x3, y3, x4, y4); GDIPlus.CheckStatus(status); }