X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Drawing%2FSystem.Drawing%2FgdipFunctions.cs;h=6c5f90c02dc53def0a90434b1e5a22cd37385f55;hb=0f398a1e644ada8676df6e6d2bf382831ac3bcbc;hp=7b968ccc2025c3c11379268aa9b6ce14cc8f87b7;hpb=3e409f1e4e374a90d04af05aef67d0d7bb0cbfcc;p=mono.git diff --git a/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs b/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs index 7b968ccc202..6c5f90c02dc 100644 --- a/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs +++ b/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs @@ -57,7 +57,7 @@ namespace System.Drawing public const int LANG_NEUTRAL = 0; public static IntPtr Display = IntPtr.Zero; public static bool UseX11Drawable; - public static bool UseQuartzDrawable = (Environment.GetEnvironmentVariable ("MONO_MWF_USE_QUARTZ_BACKEND") != null); + public static bool UseQuartzDrawable = (Environment.GetEnvironmentVariable ("MONO_MWF_USE_CARBON_BACKEND") != null); public static bool UseCocoaDrawable = (Environment.GetEnvironmentVariable ("MONO_GDIP_USE_COCOA_BACKEND") != null); #region gdiplus.dll functions @@ -128,35 +128,35 @@ namespace System.Drawing } // Copies a Ptr to an array of Points and releases the memory - static public void FromUnManagedMemoryToPointI(IntPtr prt, Point [] pts) + static public void FromUnManagedMemoryToPointI (IntPtr prt, Point [] pts) { - int nPointSize = Marshal.SizeOf(pts[0]); + int nPointSize = Marshal.SizeOf (pts[0]); IntPtr pos = prt; for (int i=0; i