[Mono-bugs] [Bug 81833][Nor] New - GdipCombineRegion{Path, Region}(Infinite, , Exclude) crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 8 08:40:52 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 doc.formatique at gmail.com.


--- shadow/81833	2007-06-08 08:40:52.000000000 -0400
+++ shadow/81833.tmp.28365	2007-06-08 08:40:52.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 81833
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: libgdiplus
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: doc.formatique at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: GdipCombineRegion{Path,Region}(Infinite, , Exclude) crash
+Description of Problem:
+GdipCombineRegionPath and GdipCombineRegionRegion don't work with an
+infinite source region in Exclude (or Xor) CombineMode: they try and
+convert the source region into a bitmap, which obviously fails.
+A victim of this is the dotnetCHARTING library, which uses
+GSystem.Drawing.Graphics.ExcludeClip on a newly-created Graphic.
+A quick fix which WorksForMe is to special-case empty path/region2 :-)
+Steps to reproduce the problem:
+1. Create an infinite region
+2. Exclude an empty region from it
+Actual Results:
+Expected Results:
+No-op in this particular case

More information about the mono-bugs mailing list