[Mono-bugs] [Bug 79254][Maj] Changed - Matrix.Scale() causes unwanted x, y Translation.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 2 15:43:10 EDT 2006


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 wosscode at gmail.com.

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

--- shadow/79254	2006-09-02 15:42:29.000000000 -0400
+++ shadow/79254.tmp.32185	2006-09-02 15:43:10.000000000 -0400
@@ -66,6 +66,19 @@
 lot of time and help create unit tests to avoid future regressions.
 
 ------- Additional Comments From wosscode at gmail.com  2006-09-02 15:42 -------
 Created an attachment (id=17592)
 A tar file containing the C# source of a demo app of the Matrix.Scale() bug
 
+
+------- Additional Comments From wosscode at gmail.com  2006-09-02 15:43 -------
+OK.  I had to write a new one because I lost the windows one.
+
+Compile with:
+
+gmcs *.cs -r:System.Drawing -r:System.Windows.Forms
+
+Then run the exe.  Click the form to make it draw a line.  The
+checkbox determines whether or not my hacky fix is used or not.  If
+oyu alter the scale value then the top left end of the line will end
+up ina different place.  This is clearly not intended because scaling
+a point at (0,0) should not cause it to move.


More information about the mono-bugs mailing list