Пример #1
0
        public object Clone()
        {
            IntPtr clone;

            int status = Gdip.GdipClonePath(_nativePath, out clone);
            Gdip.CheckStatus(status);

            return new GraphicsPath(clone);
        }
Пример #2
0
        public object Clone()
        {
            Gdip.CheckStatus(Gdip.GdipClonePath(new HandleRef(this, _nativePath), out IntPtr clonedPath));

            return(new GraphicsPath(clonedPath, 0));
        }