Hey,
        A patch to add a couple font-related methods.
Index: Mono.Cairo/Graphics.cs
===================================================================
--- Mono.Cairo/Graphics.cs	(revision 50236)
+++ Mono.Cairo/Graphics.cs	(working copy)
@@ -633,6 +633,16 @@
 			CairoAPI.cairo_copy_page (state);
 		}
 
+		public void SelectFontFace (string family, FontSlant slant, FontWeight weight)
+		{
+			CairoAPI.cairo_select_font_face (state, family, slant, weight);
+		}
+
+		public void SetFontSize (double scale)
+		{
+			CairoAPI.cairo_set_font_size (state, scale);
+		}
+
 		public void ShowPage ()
 		{
 			CairoAPI.cairo_show_page (state);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50236)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2005-09-19  John Luke  <[EMAIL PROTECTED]>
+
+	* Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
+
 2005-09-12  Hisham Mardam Bey  <[EMAIL PROTECTED]>
 
         * Samples/: Fix all samples to work with new API changes.
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to