[Mono-bugs] [Bug 80756][Wis] Changed - OutOfMemoryException in System.Drawing.Graphics.ClipBounds

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 8 12:53:51 EST 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=80756

--- shadow/80756	2007-02-08 12:50:19.000000000 -0500
+++ shadow/80756.tmp.14960	2007-02-08 12:53:51.000000000 -0500
@@ -5,13 +5,13 @@
 OS Details: non-windows
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: libgdiplus
-AssignedTo: mono-bugs at ximian.com                            
+AssignedTo: sebastien at ximian.com                            
 ReportedBy: vlad.dimitrov at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: OutOfMemoryException in System.Drawing.Graphics.ClipBounds
@@ -154,6 +154,15 @@
 are some algorithms that may help in this case.
 
 ------- Additional Comments From sebastien at ximian.com  2007-02-08 12:50 -------
 Created an attachment (id=18649)
 patch
 
+
+------- Additional Comments From sebastien at ximian.com  2007-02-08 12:53 -------
+You may want to try the attached patch (your sample won't crash/throw
+with it). It avoid convertion to a bitmap region for scaling (the case
+for scaling+translation doesn't work yet).
+
+The patch doesn't regress any of the existing unit tests but I won't
+commit it until I wrote more tests. In the meantime let me know if you
+find other issues with it.


More information about the mono-bugs mailing list