[Mono-bugs] [Bug 81737][Cos] Changed - Draw|Fill shapes can be off by one pixel

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 14:58:48 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 17:32:20.000000000 -0400
+++ shadow/81737.tmp.14768	2007-08-13 14:58:48.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 81737
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: ASSIGNED   
+Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Normal
+Priority: Cosmetic
 Component: Sys.Drawing.
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: vlad.dimitrov at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: DrawRect not placed correctly
+Summary: Draw|Fill shapes can be off by one pixel
 
 Description of Problem:
 DrawRect does not draw it's lines correctly. In MS.NET the line depth is
 split in two. So the virtual line would be exactly in the middle of the line.
 
 I am attaching a test case to reproduce the problem. The test creates a
@@ -111,6 +111,13 @@
 
 ------- Additional Comments From vlad.dimitrov at gmail.com  2007-05-28 17:32 -------
 The only reason to use float numbersi in DrawRect was because this 
 was the only way I was getting consistent results while drawing an 
 inset rectangle with MS.NET. My point was to have a rectangle that 
 was growing to the inside when the border width was growing.
+
+------- Additional Comments From sebastien at ximian.com  2007-08-13 14:58 -------
+I didn't (yet) try all the API to make sure we're not off by one
+pixel. Feel free to supply unit tests for them if you find some. 
+
+I'll look at this someday... but for the moment I'm downgrading this
+to Cosmetic


More information about the mono-bugs mailing list