Author: jordi
Date: 2006-09-19 08:44:17 -0400 (Tue, 19 Sep 2006)
New Revision: 65633
Modified:
trunk/mcs/class/Mono.Cairo/ChangeLog
trunk/mcs/class/Mono.Cairo/Mono.Cairo/Cairo.cs
trunk/mcs/class/Mono.Cairo/Mono.Cairo/Surface.cs
Log:
2006-09-19 Jordi Mas <[EMAIL PROTECTED]>
* Surface.cs, Cairo.cs: the parameters for Show are X,Y not witdh
and height and also double not int.
Modified: trunk/mcs/class/Mono.Cairo/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Cairo/ChangeLog 2006-09-19 12:14:39 UTC (rev
65632)
+++ trunk/mcs/class/Mono.Cairo/ChangeLog 2006-09-19 12:44:17 UTC (rev
65633)
@@ -1,3 +1,8 @@
+2006-09-19 Jordi Mas <[EMAIL PROTECTED]>
+
+ * Surface.cs, Cairo.cs: the parameters for Show are X,Y not witdh
+ and height and also double not int.
+
2006-07-21 Alp Toker <[EMAIL PROTECTED]>
* Mono.Cairo.dll.sources:
Modified: trunk/mcs/class/Mono.Cairo/Mono.Cairo/Cairo.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Mono.Cairo/Cairo.cs 2006-09-19 12:14:39 UTC
(rev 65632)
+++ trunk/mcs/class/Mono.Cairo/Mono.Cairo/Cairo.cs 2006-09-19 12:44:17 UTC
(rev 65633)
@@ -569,7 +569,7 @@
internal static extern void cairo_set_source_rgba (IntPtr cr,
double red, double green, double blue, double alpha);
[DllImport (cairo)]
- internal static extern void cairo_set_source_surface (IntPtr
cr, IntPtr surface, double width, double height);
+ internal static extern void cairo_set_source_surface (IntPtr
cr, IntPtr surface, double x, double y);
[DllImport (cairo)]
internal static extern void cairo_set_tolerance (IntPtr cr,
double tolerance);
Modified: trunk/mcs/class/Mono.Cairo/Mono.Cairo/Surface.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Mono.Cairo/Surface.cs 2006-09-19 12:14:39 UTC
(rev 65632)
+++ trunk/mcs/class/Mono.Cairo/Mono.Cairo/Surface.cs 2006-09-19 12:44:17 UTC
(rev 65633)
@@ -102,9 +102,9 @@
Dispose (false);
}
- public void Show (Context gr, int width, int height)
+ public void Show (Context gr, double x, double y)
{
- CairoAPI.cairo_set_source_surface (gr.Handle, surface,
width, height);
+ CairoAPI.cairo_set_source_surface (gr.Handle, surface,
x, y);
CairoAPI.cairo_paint (gr.Handle);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches