Author: gnorton
Date: 2007-10-09 21:19:04 -0400 (Tue, 09 Oct 2007)
New Revision: 87235

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing/carbonFunctions.cs
Log:
2007-10-09  Geoff Norton  <[EMAIL PROTECTED]>

    * carbonFunctions.cs: Correct the PInvoke definition for CGContext*CTM.



Modified: trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2007-10-09 
23:59:38 UTC (rev 87234)
+++ trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2007-10-10 
01:19:04 UTC (rev 87235)
@@ -1,3 +1,7 @@
+2007-10-09  Geoff Norton  <[EMAIL PROTECTED]>
+
+       * carbonFunctions.cs: Correct the P/Invoke definition for CGContext*CTM.
+
 2007-09-26  Ivan N.Zlatev <[EMAIL PROTECTED]>
 
        * ColorConverter.cs: During conversion to InstanceDescriptor check

Modified: trunk/mcs/class/System.Drawing/System.Drawing/carbonFunctions.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/carbonFunctions.cs    
2007-10-09 23:59:38 UTC (rev 87234)
+++ trunk/mcs/class/System.Drawing/System.Drawing/carbonFunctions.cs    
2007-10-10 01:19:04 UTC (rev 87235)
@@ -101,9 +101,9 @@
                 [DllImport 
("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]
                 internal static extern void CreateCGContextForPort (IntPtr 
port, ref IntPtr cgc);
                 [DllImport 
("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]
-                internal static extern void CGContextTranslateCTM (IntPtr cgc, 
double tx, double ty);
+                internal static extern void CGContextTranslateCTM (IntPtr cgc, 
float tx, float ty);
                 [DllImport 
("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]
-                internal static extern void CGContextScaleCTM (IntPtr cgc, 
double x, double y);
+                internal static extern void CGContextScaleCTM (IntPtr cgc, 
float x, float y);
                 [DllImport 
("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]
                 internal static extern void CGContextFlush (IntPtr cgc);
                 [DllImport 
("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to