[Mono-bugs] [Bug 81737][Nor] Changed - DrawRect not placed correctly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 28 12:12:30 EDT 2007


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=81737

--- shadow/81737	2007-05-28 09:10:25.000000000 -0400
+++ shadow/81737.tmp.20578	2007-05-28 12:12:30.000000000 -0400
@@ -44,6 +44,16 @@
 But your test case could shows problems with the AA + scaling. Mixing
 both has been known to be problematic in the past (i.e. the AA offset
 shouldn't be scaled but we don't control that).
 
 I'll add unit tests wrt [Draw|Fill][Rectangles|...] to ensure that,
 without scaling, our results match MS.
+
+------- Additional Comments From sebastien at ximian.com  2007-05-28 12:12 -------
+New tests shows that we match MS behaviour for 1 and 3 pixels width
+but not for 2. That's probably an due to the precision when divising
+the pen's width (which differs from cairo and gdi+). It's likely that
+this occurs on most of the Draw* functions.
+
+However it doesn't create a blank (only an offset) between the draw
+and fill. Am almost convinced (and afraid) that this is AA+scaling
+related.


More information about the mono-bugs mailing list