[Mono-bugs] [Bug 78408][Nor] New - [PATCH] Graphics.FillRectangle() should not call GDI+ GdipFillRectangles(I)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 15 16:22:58 EDT 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 atsushi at ximian.com.

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

--- shadow/78408	2006-05-15 16:22:58.000000000 -0400
+++ shadow/78408.tmp.19650	2006-05-15 16:22:58.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 78408
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: sebastien at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] Graphics.FillRectangle() should not call GDI+ GdipFillRectangles(I)
+
+Currently mono calls GdipFillRectangles() for Graphics.FillRectangle even
+if the argument rectangle array is empty. In that case Windows native GDI+
+(not our libgdiplus) returns InvalidParameter status. So we should just
+ignore empty array.
+
+Patch being attached.


More information about the mono-bugs mailing list