Converts calibrated coordinates to integer pixel coordinates.
(double y)
| 1994 | |
| 1995 | /** Converts calibrated coordinates to integer pixel coordinates. */ |
| 1996 | private int scaleY(double y) { |
| 1997 | double yPxl = scaleYtoPxl(y); |
| 1998 | return pxlToInt(yPxl); |
| 1999 | } |
| 2000 | |
| 2001 | /** Converts a double-precision pixel coordinate value 'v' to integer, |
| 2002 | * with overflow handling: Limits are +/-Integer.MAX_VALUE/2. |
no test coverage detected