Exemple #1
0
        public Matrix Clone()
        {
            int status = Gdip.GdipCloneMatrix(new HandleRef(this, nativeMatrix), out IntPtr clonedMatrix);

            if (status != Gdip.Ok)
            {
                throw Gdip.StatusException(status);
            }

            return(new Matrix(clonedMatrix));
        }
Exemple #2
0
 public Matrix Clone()
 {
     Gdip.CheckStatus(Gdip.GdipCloneMatrix(new HandleRef(this, NativeMatrix), out IntPtr clonedMatrix));
     return(new Matrix(clonedMatrix));
 }