예제 #1
0
        public void AddCurve(PointF [] points, int offset, int numberOfSegments, float tension)
        {
            if (points == null)
            {
                throw new ArgumentNullException("points");
            }

            Status status = GDIPlus.GdipAddPathCurve3(nativePath, points, points.Length,
                                                      offset, numberOfSegments, tension);

            GDIPlus.CheckStatus(status);
        }