Converts a screen x-coordinate to an offscreen x-coordinate (nearest pixel center).
(int sx)
| 726 | |
| 727 | /**Converts a screen x-coordinate to an offscreen x-coordinate (nearest pixel center).*/ |
| 728 | public int offScreenX(int sx) { |
| 729 | return srcRect.x + (int)(sx/magnification); |
| 730 | } |
| 731 | |
| 732 | /**Converts a screen y-coordinate to an offscreen y-coordinate (nearest pixel center).*/ |
| 733 | public int offScreenY(int sy) { |
no outgoing calls
no test coverage detected