MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / in

Method in

ij/src/main/java/ij/plugin/Zoom.java:29–38  ·  view source on GitHub ↗
(ImagePlus imp)

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 9

waitUntilActivatedMethod · 0.95
screenXMethod · 0.95
screenYMethod · 0.95
zoomInMethod · 0.95
getMagnificationMethod · 0.95
getCanvasMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45
repaintWindowMethod · 0.45

Tested by

no test coverage detected