(ImagePlus imp)
| 27 | } |
| 28 | |
| 29 | public static void in(ImagePlus imp) { |
| 30 | ImageCanvas ic = imp.getCanvas(); |
| 31 | if (ic==null) return; |
| 32 | waitUntilActivated(imp); |
| 33 | int x = ic.screenX(imp.getWidth()/2); |
| 34 | int y = ic.screenY(imp.getHeight()/2); |
| 35 | ic.zoomIn(x, y); |
| 36 | if (ic.getMagnification()<=1.0) |
| 37 | imp.repaintWindow(); |
| 38 | } |
| 39 | |
| 40 | public static void out(ImagePlus imp) { |
| 41 | ImageCanvas ic = imp.getCanvas(); |
nothing calls this directly
no test coverage detected