This content has been marked as final. Show 2 replies
Then you need to translate the coordinates before drawing.1 person found this helpful
Let's say you have a screen of 800x600.
How would you write code, so that when you draw a point at (0, 10) (in the coordinate system you want) it would go to the screen at (0, 590)?
What about (10, 20) -> (10, 580) ?
See a pattern there?
And this can be done using an AffineTransform applied to the Graphics.