mail-archives/mono-bugs/2005-June/030662.html

110 строки
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75325][Wis] New - Graphics.DrawImage(Image,
PointF[]) wrong behaviour
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075325%5D%5BWis%5D%20New%20-%20Graphics.DrawImage%28Image%2C%0A%09PointF%5B%5D%29%20wrong%20behaviour&In-Reply-To=bug-75325%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030661.html">
<LINK REL="Next" HREF="030663.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75325][Wis] New - Graphics.DrawImage(Image,
PointF[]) wrong behaviour</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075325%5D%5BWis%5D%20New%20-%20Graphics.DrawImage%28Image%2C%0A%09PointF%5B%5D%29%20wrong%20behaviour&In-Reply-To=bug-75325%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75325][Wis] New - Graphics.DrawImage(Image,
PointF[]) wrong behaviour">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Jun 20 11:59:39 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030661.html">[Mono-bugs] [Bug 75296][Blo] Changed - [GMCS] context from type
instead of method is used when parsing generic method invocation
</A></li>
<LI>Next message: <A HREF="030663.html">[Mono-bugs] [Bug 75261][Nor] Changed - [GMCS] a little bit more
type inference should be performed by gmcs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30662">[ date ]</a>
<a href="thread.html#30662">[ thread ]</a>
<a href="subject.html#30662">[ subject ]</a>
<a href="author.html#30662">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">davide.morelli at parser.it.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75325">http://bugzilla.ximian.com/show_bug.cgi?id=75325</A>
--- 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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">davide.morelli at parser.it</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+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)} &lt;-- here is a rotation and a stretch
+
+wrong behaviour on all platforms: osx, win and linux
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030661.html">[Mono-bugs] [Bug 75296][Blo] Changed - [GMCS] context from type
instead of method is used when parsing generic method invocation
</A></li>
<LI>Next message: <A HREF="030663.html">[Mono-bugs] [Bug 75261][Nor] Changed - [GMCS] a little bit more
type inference should be performed by gmcs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30662">[ date ]</a>
<a href="thread.html#30662">[ thread ]</a>
<a href="subject.html#30662">[ subject ]</a>
<a href="author.html#30662">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>