public void AddCurve(PointF [] points) { if (points == null) { throw new ArgumentNullException("points"); } Status status = GDIPlus.GdipAddPathCurve(nativePath, points, points.Length); GDIPlus.CheckStatus(status); }