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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81833 --- 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 +Resolution: +Severity: +Priority: Normal +Component: libgdiplus +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +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: + +Abort. + +Expected Results: + +No-op in this particular case _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
