[Mono-bugs] [Bug 75325][Wis] New - Graphics.DrawImage(Image, PointF[]) wrong behaviour

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 20 11:59:39 EDT 2005


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 davide.morelli at parser.it.

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

--- shadow/75325	2005-06-20 11:59:39.000000000 -0400
+++ shadow/75325.tmp.16736	2005-06-20 11:59:39.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 75325
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Mac OS X 10.3
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: davide.morelli at parser.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.DrawImage(Image, PointF[]) wrong behaviour
+
+Description of Problem:
+
+image.c: GdipDrawImagePoints 
+
+does not consider rotated or stratched images
+
+x = dstPoints[0].X;
+y = dstPoints[0].Y;
+width = dstPoints[1].X - dstPoints[0].X;
+height = dstPoints[2].Y - dstPoints[2].Y;
+return GdipDrawImageRect (graphics, image, x, y, width, height);
+
+this code should be correct if I pass 3 PointF like these:
+{(10,10), (100,10), (10,100)}
+but NOT with
+{(10,10), (100,0), (0,100)}  <-- here is a rotation and a stretch
+
+wrong behaviour on all platforms: osx, win and linux


More information about the mono-bugs mailing list