public void AddBeziers(PointF[] points)
 {
     if (points == null)
         throw new ArgumentNullException(nameof(points));
     int status = Gdip.GdipAddPathBeziers(_nativePath, points, points.Length);
     Gdip.CheckStatus(status);
 }
Exemple #2
0
        public unsafe void AddBeziers(PointF[] points)
        {
            ArgumentNullException.ThrowIfNull(points);

            fixed(PointF *p = points)
            {
                Gdip.CheckStatus(Gdip.GdipAddPathBeziers(new HandleRef(this, _nativePath), p, points.Length));
            }
        }
Exemple #3
0
        public unsafe void AddBeziers(PointF[] points)
        {
            if (points == null)
            {
                throw new ArgumentNullException(nameof(points));

                fixed(PointF *p = points)
                {
                    Gdip.CheckStatus(Gdip.GdipAddPathBeziers(new HandleRef(this, _nativePath), p, points.Length));
                }
        }