static private CreateInstance ( IntPtr instance ) : |
||
instance | IntPtr | |
return |
internal static MagickGeometry CreateInstance(IntPtr instance)
{
if (instance == IntPtr.Zero)
return null;
using (NativeMagickGeometry nativeInstance = new NativeMagickGeometry(instance))
{
return new MagickGeometry(nativeInstance);
}
}
}