Converts a screen y-coordinate to an offscreen y-coordinate (nearest pixel center).
(int sy)
| 731 | |
| 732 | /**Converts a screen y-coordinate to an offscreen y-coordinate (nearest pixel center).*/ |
| 733 | public int offScreenY(int sy) { |
| 734 | return srcRect.y + (int)(sy/magnification); |
| 735 | } |
| 736 | |
| 737 | /**Converts a screen x-coordinate to an offscreen x-coordinate (Roi coordinate of nearest pixel border).*/ |
| 738 | public int offScreenX2(int sx) { |
no outgoing calls
no test coverage detected