[Mono-bugs] [Bug 77408][Nor] Changed - FillPath has a different behaviour from MS GDI+

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 1 15:49:26 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77408

--- shadow/77408	2006-01-30 16:42:24.000000000 -0500
+++ shadow/77408.tmp.11685	2006-02-01 15:49:26.000000000 -0500
@@ -81,6 +81,22 @@
 Created an attachment (id=16423)
 screenshot #2 - mono
 
 
 ------- Additional Comments From sebastien at ximian.com  2006-01-30 16:42 -------
 if a picture is worth a thousand words then two should be enough ;)
+
+------- Additional Comments From sebastien at ximian.com  2006-02-01 15:49 -------
+This problem is also present in the existing rectangular region
+support. The following code gives the same results as the red shape
+(on Windows) while it gives the same results as the blue shape (on
+Mono/Linux).
+
+Region r = new Region (new Rectangle (20, 260, 100, 100));
+
+r.Xor (new Rectangle (100, 340, 20, 20));
+
+r.Xor (new Rectangle (120, 360, 20, 20));
+
+e.Graphics.FillRegion (Brushes.Green, r);
+
+


More information about the mono-bugs mailing list