Bläddra i källkod

2006-06-01 Sebastien Pouliot <[email protected]>

	* TestHatchBrush.cs: Some were surprisingly similar until...


svn path=/trunk/mcs/; revision=61385
Sebastien Pouliot 19 år sedan
förälder
incheckning
46e97caece

+ 4 - 0
mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/ChangeLog

@@ -1,3 +1,7 @@
+2006-06-01  Sebastien Pouliot  <[email protected]>
+
+	* TestHatchBrush.cs: Some were surprisingly similar until...
+
 2006-05-24  Sebastien Pouliot  <[email protected]>
 
 	* GraphicsPathTest.cs: Ignore some test cases that aren't implemented 

+ 2 - 2
mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs

@@ -460,7 +460,7 @@ namespace MonoTests.System.Drawing.Drawing2D
 			gr.DrawString ("Test #37 80Percent", font, br, textStart, top);
 			
 			top += spacing;
-			pen = new Pen (new HatchBrush (HatchStyle.Percent70, fgColor, bgColor), penWidth);
+			pen = new Pen (new HatchBrush (HatchStyle.Percent80, fgColor, bgColor), penWidth);
 			gr.DrawLine (pen, lineStart, top, lineStart + length, top);
 
 			// #38
@@ -468,7 +468,7 @@ namespace MonoTests.System.Drawing.Drawing2D
 			gr.DrawString ("Test #38 90Percent", font, br, textStart, top);
 			
 			top += spacing;
-			pen = new Pen (new HatchBrush (HatchStyle.Percent70, fgColor, bgColor), penWidth);
+			pen = new Pen (new HatchBrush (HatchStyle.Percent90, fgColor, bgColor), penWidth);
 			gr.DrawLine (pen, lineStart, top, lineStart + length, top);
 
 			// #39