Пример #1
0
        public void AddCurve(Point [] points, int offset, int numberOfSegments, float tension)
        {
            if (points == null)
            {
                throw new ArgumentNullException("points");
            }

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

            GDIPlus.CheckStatus(status);
        }