Author: spouliot
Date: 2007-05-25 14:32:05 -0400 (Fri, 25 May 2007)
New Revision: 77962
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs
Log:
2007-05-25 Sebastien Pouliot <[EMAIL PROTECTED]>
* TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
cases as it's not supported in libgdiplus.
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
2007-05-25 18:25:15 UTC (rev 77961)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
2007-05-25 18:32:05 UTC (rev 77962)
@@ -1,3 +1,8 @@
+2007-05-25 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
+ cases as it's not supported in libgdiplus.
+
2007-05-24 Sebastien Pouliot <[EMAIL PROTECTED]>
* TestGraphics.cs: Add test cases for DrawImage overloads accepting
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs
2007-05-25 18:25:15 UTC (rev 77961)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs
2007-05-25 18:32:05 UTC (rev 77962)
@@ -2768,7 +2768,6 @@
using (Bitmap bmp = new Bitmap (40, 40)) {
using (Graphics g = Graphics.FromImage (bmp)) {
ImageAttributes ia = new
ImageAttributes ();
- ia.SetThreshold (1.0f);
g.DrawImage (bmp, pts, r,
GraphicsUnit.Pixel, ia);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches