public void Text(double x, double y, string text)
{
using (INativeInstance textNative = UTF8Marshaler.CreateInstance(text))
{
IntPtr exception = IntPtr.Zero;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
NativeMethods.X64.DrawingWand_Text(Instance, x, y, textNative.Instance, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
NativeMethods.X86.DrawingWand_Text(Instance, x, y, textNative.Instance, out exception);
#endif
CheckException(exception);
}
}
public void PathClose()