Author: jluke
Date: 2005-11-25 19:06:48 -0500 (Fri, 25 Nov 2005)
New Revision: 53492

Modified:
   trunk/mcs/class/Mono.Cairo/Samples/gtk/text.cs
   trunk/mcs/class/Mono.Cairo/Samples/png/text.cs
   trunk/mcs/class/Mono.Cairo/Samples/x11/text.cs
Log:
update samples


Modified: trunk/mcs/class/Mono.Cairo/Samples/gtk/text.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Samples/gtk/text.cs      2005-11-26 00:00:49 UTC 
(rev 53491)
+++ trunk/mcs/class/Mono.Cairo/Samples/gtk/text.cs      2005-11-26 00:06:48 UTC 
(rev 53492)
@@ -65,8 +65,8 @@
                gr.Scale (width, height);
                gr.LineWidth = 0.04;
                
-               gr.FontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
-               gr.FontSize = 0.35;
+               gr.SelectFontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
+               gr.SetFontSize (0.35);
                
                gr.MoveTo ( new PointD(0.04, 0.53) );
                gr.ShowText ("Hello");

Modified: trunk/mcs/class/Mono.Cairo/Samples/png/text.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Samples/png/text.cs      2005-11-26 00:00:49 UTC 
(rev 53491)
+++ trunk/mcs/class/Mono.Cairo/Samples/png/text.cs      2005-11-26 00:06:48 UTC 
(rev 53492)
@@ -39,8 +39,8 @@
                gr.Scale (width, height);
                gr.LineWidth = 0.04;
                
-               gr.FontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
-               gr.FontSize = 0.35;
+               gr.SelectFontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
+               gr.SetFontSize (0.35);
                
                gr.MoveTo ( new PointD(0.04, 0.53) );
                gr.ShowText ("Hello");

Modified: trunk/mcs/class/Mono.Cairo/Samples/x11/text.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Samples/x11/text.cs      2005-11-26 00:00:49 UTC 
(rev 53491)
+++ trunk/mcs/class/Mono.Cairo/Samples/x11/text.cs      2005-11-26 00:06:48 UTC 
(rev 53492)
@@ -41,8 +41,8 @@
                gr.Scale (width, height);
                gr.LineWidth = 0.04;
                
-               gr.FontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
-               gr.FontSize = 0.35;
+               gr.SelectFontFace ("Sans", FontSlant.Normal, FontWeight.Bold);
+               gr.SetFontSize (0.35);
                
                gr.MoveTo ( new PointD(0.04, 0.53) );
                gr.ShowText ("Hello");

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

Reply via email to