コード例 #1
0
        public void AddBezier(PointF pt1, PointF pt2, PointF pt3, PointF pt4)
        {
            int status = Gdip.GdipAddPathBezier(_nativePath, pt1.X, pt1.Y,
                                                pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y);

            Gdip.CheckStatus(status);
        }
コード例 #2
0
 public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
 {
     Gdip.CheckStatus(Gdip.GdipAddPathBezier(
                          new HandleRef(this, _nativePath),
                          x1, y1, x2, y2, x3, y3, x4, y4));
 }
コード例 #3
0
        public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
        {
            int status = Gdip.GdipAddPathBezier(_nativePath, x1, y1, x2, y2, x3, y3, x4, y4);

            Gdip.CheckStatus(status);
        }