Exemplo n.º 1
0
        //
        // AddBezier
        //
        public void AddBezier(Point pt1, Point pt2, Point pt3, Point pt4)
        {
            Status status = GDIPlus.GdipAddPathBezierI(nativePath, pt1.X, pt1.Y,
                                                       pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);

            GDIPlus.CheckStatus(status);
        }
Exemplo n.º 2
0
        public void AddBezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
        {
            Status status = GDIPlus.GdipAddPathBezierI(nativePath, x1, y1, x2, y2, x3, y3, x4, y4);

            GDIPlus.CheckStatus(status);
        }