Author: jluke
Date: 2005-11-27 16:30:40 -0500 (Sun, 27 Nov 2005)
New Revision: 53530

Modified:
   trunk/mcs/class/Mono.Cairo/ChangeLog
   trunk/mcs/class/Mono.Cairo/Mono.Cairo/Graphics.cs
Log:
2005-11-27  John Luke  <[EMAIL PROTECTED]>

        * Mono.Cairo/Graphics.cs: add back FontSetSize,
        FontSize setter, and FontFace as obsolete API



Modified: trunk/mcs/class/Mono.Cairo/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Cairo/ChangeLog        2005-11-27 21:15:11 UTC (rev 
53529)
+++ trunk/mcs/class/Mono.Cairo/ChangeLog        2005-11-27 21:30:40 UTC (rev 
53530)
@@ -1,3 +1,8 @@
+2005-11-27  John Luke  <[EMAIL PROTECTED]>
+
+       * Mono.Cairo/Graphics.cs: add back FontSetSize,
+       FontSize setter, and FontFace as obsolete API
+
 2005-11-25  John Luke  <[EMAIL PROTECTED]>
 
        * Mono.Cairo/Cairo.cs: add font_options* api

Modified: trunk/mcs/class/Mono.Cairo/Mono.Cairo/Graphics.cs
===================================================================
--- trunk/mcs/class/Mono.Cairo/Mono.Cairo/Graphics.cs   2005-11-27 21:15:11 UTC 
(rev 53529)
+++ trunk/mcs/class/Mono.Cairo/Mono.Cairo/Graphics.cs   2005-11-27 21:30:40 UTC 
(rev 53530)
@@ -532,6 +532,17 @@
                {
                        CairoAPI.cairo_set_font_size (state, scale);
                }
+
+               [Obsolete ("Use SetFontSize() instead.")]
+               public void FontSetSize (double scale)
+               {
+                       SetFontSize (scale);
+               }
+
+               [Obsolete ("Use SetFontSize() instead.")]
+               public double FontSize {
+                       set { SetFontSize (value); }
+               }
                
                public Matrix FontMatrix {
                        get { return CairoAPI.cairo_get_font_matrix (state); }
@@ -600,6 +611,12 @@
                        CairoAPI.cairo_copy_page (state);
                }
 
+               [Obsolete ("Use SelectFontFace() instead.")]
+               public void FontFace (string family, FontSlant slant, 
FontWeight weight)
+               {
+                       SelectFontFace (family, slant, weight);
+               }
+               
                public void SelectFontFace (string family, FontSlant slant, 
FontWeight weight)
                {
                        CairoAPI.cairo_select_font_face (state, family, slant, 
weight);

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

Reply via email to