[Mono-bugs] [Bug 60601][Wis] New - Graphics.DrawImage crops image
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Jun 2004 00:37:07 -0400 (EDT)
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 david.mitchell@telogis.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60601
--- shadow/60601 2004-06-23 00:37:07.000000000 -0400
+++ shadow/60601.tmp.4429 2004-06-23 00:37:07.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 60601
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: Gentoo
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: david.mitchell@telogis.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Graphics.DrawImage crops image
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Graphics.DrawImage doesn't function properly. It cuts off the image.
+
+Steps to reproduce the problem:
+1. Compile the attached program (mcs -r:System.Drawing draw.cs)
+2. Run it
+3. View out.png
+
+Actual Results:
+A red square in the top left of a yellow image
+
+Expected Results:
+A larger red square in the centre of the image
+
+How often does this happen?
+Always
+
+Additional Information:
+This is cropping the image from the top left (so in the given example it
+only draws pixels from the 'fill' bitmap that are in the box
+(10,10)->(20,20). It should draw the whole image, just translated.
+
+See attachment