[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
Sun Sep 3 13:31:01 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-03 10:46:14.000000000 -0400
+++ shadow/79254.tmp.18188	2006-09-03 13:31:01.000000000 -0400
@@ -83,6 +83,23 @@
 up ina different place.  This is clearly not intended because scaling
 a point at (0,0) should not cause it to move.
 
 ------- Additional Comments From sebastien at ximian.com  2006-09-03 10:46 -------
 The problem is our antialiasing support. It add small values (normally
 half pixel) before drawing but 0 and 0.5 * 100 are very different values.
+
+------- Additional Comments From wosscode at gmail.com  2006-09-03 13:31 -------
+In that case this should also be relevant.  I'm setting these
+properties before doing any drawing...
+
+        private void SetHighSpeedGraphics()
+        {
+            //_grfx.CompositingMode = CompositingMode.SourceCopy;
+            _grfx.CompositingQuality = CompositingQuality.HighSpeed;
+            _grfx.InterpolationMode = InterpolationMode.Low;
+            _grfx.PixelOffsetMode = PixelOffsetMode.None;
+            _grfx.SmoothingMode = SmoothingMode.None;
+            _grfx.TextRenderingHint =
+TextRenderingHint.SingleBitPerPixelGridFit;
+        }
+
+


More information about the mono-bugs mailing list