graphics.scale(xstale,yscale) performs incorrectly in several ways. I have a test program that shows
the problems. First, here's the expected result, produced by standard java.
here's the result produced by the simulator. Note that in the "x-only" case, no scaling at all
seems to occur. In any case with y scaling, there's a mysterious extra few pixels y offset. This
offset seems to be a constant regardless of the scale factor. IOS and android produce simularly
incorrect outputs.
Here's the test program
Dtest.java
graphics.scale(xstale,yscale) performs incorrectly in several ways. I have a test program that shows
the problems. First, here's the expected result, produced by standard java.
here's the result produced by the simulator. Note that in the "x-only" case, no scaling at all
seems to occur. In any case with y scaling, there's a mysterious extra few pixels y offset. This
offset seems to be a constant regardless of the scale factor. IOS and android produce simularly
incorrect outputs.
Here's the test program
Dtest.java