2007-01-08 Alp Toker <alp@atoker.com>
authorAlp Toker <alp@mono-cvs.ximian.com>
Mon, 8 Jan 2007 02:22:01 +0000 (02:22 -0000)
committerAlp Toker <alp@mono-cvs.ximian.com>
Mon, 8 Jan 2007 02:22:01 +0000 (02:22 -0000)
* Mono.Cairo/Context.cs: Restore Obsolete markings for old glyph
methods. It is fair to assume nobody was able to use these broken
methods, and Obsolete is important for the ongoing API review process.

svn path=/trunk/mcs/; revision=70610

mcs/class/Mono.Cairo/ChangeLog
mcs/class/Mono.Cairo/Mono.Cairo/Context.cs

index 64b239596a207851d1b875eaf960280cb49f17c8..f481c03c4bb37637a94861f6e59d6217e1f1227e 100644 (file)
@@ -1,3 +1,17 @@
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs: Restore Obsolete markings for old glyph
+       methods. It is fair to assume nobody was able to use these broken
+       methods, and Obsolete is important for the ongoing API review process.
+
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/Surface.cs:
+       Introduce Context.SetSource(). The old method also oddly took ints
+       instead of doubles. Obsolete Context.SetSourceSurface() and
+       Surface.Show().
+
 2007-01-08  Alp Toker  <alp@atoker.com>
 
        * Mono.Cairo/Format.cs: Obsolete Format.ARGB32/RGB24 in favour of
index f921adec639a089243b76532b991dc891e6c7e16..66885001ca077bb1f3d1a35f68ef832ec68ffcef 100644 (file)
@@ -752,13 +752,13 @@ namespace Cairo {
                         Marshal.FreeHGlobal (ptr);             
                }
 
-               //[Obsolete("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")]
+               [Obsolete("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")]
                 public void ShowGlyphs (Matrix matrix, Glyph[] glyphs)
                 {
                        ShowGlyphs (glyphs);
                 }
 
-               //[Obsolete("The matrix argument was never used, use GlyphPath(Glyphs []) instead")]
+               [Obsolete("The matrix argument was never used, use GlyphPath(Glyphs []) instead")]
                 public void GlyphPath (Matrix matrix, Glyph[] glyphs)
                 {
                        GlyphPath (glyphs);