[Mono-bugs] [Bug 81737][Wis] New - DrawRect not paced correctly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 25 15:35:28 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 vlad.dimitrov at gmail.com.


--- shadow/81737	2007-05-25 15:35:28.000000000 -0400
+++ shadow/81737.tmp.32310	2007-05-25 15:35:28.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 81737
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: vlad.dimitrov at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: DrawRect not paced correctly
+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
+print preview of a page with two rectangles which have borders. The borders
+are drawn using DrawRect and are filled using FillRect. In MS.NET both
+rectangles are inside their frames. Actually on the first one doesn't look
+absolutely correct even there (I'm looking at the printout on the virtual
+If you change the coordinates passed to DrawFilledRect to 0, 0 you can see
+that the error is in FillRect not DrawRect.

More information about the mono-bugs mailing list