Revision: 2492
http://sourceforge.net/p/swingme/code/2492
Author: yuranet
Date: 2021-06-29 19:22:29 +0000 (Tue, 29 Jun 2021)
Log Message:
-----------
scale works better
Modified Paths:
--------------
iOSME/src/javax/microedition/lcdui/Graphics.java
Modified: iOSME/src/javax/microedition/lcdui/Graphics.java
===================================================================
--- iOSME/src/javax/microedition/lcdui/Graphics.java 2021-06-28 22:23:33 UTC (rev 2491)
+++ iOSME/src/javax/microedition/lcdui/Graphics.java 2021-06-29 19:22:29 UTC (rev 2492)
@@ -174,8 +174,6 @@
public void scale(double sx, double sy) {
CoreGraphics.CGContextTranslateCTM(context, tx, ty);
CoreGraphics.CGContextScaleCTM(context, sx, sy);
- tx = (int)(tx * sx);
- ty = (int)(ty * sy);
CoreGraphics.CGContextTranslateCTM(context, - tx, - ty);
dirtyClip = true;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|