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

Method updateAndDraw

ij/src/main/java/ij/macro/Functions.java:1190–1199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1188 }
1189
1190 void updateAndDraw() {
1191 if (autoUpdate) {
1192 ImagePlus imp = defaultImp;
1193 if (imp==null)
1194 imp = getImage();
1195 imp.updateChannelAndDraw();
1196 imp.changes = true;
1197 } else
1198 updateNeeded = true;
1199 }
1200
1201 void updateDisplay() {
1202 if (updateNeeded && WindowManager.getImageCount()>0) {

Callers 9

lineToMethod · 0.95
drawLineMethod · 0.95
drawStringMethod · 0.95
drawOrFillMethod · 0.95
floodFillMethod · 0.95
displayBatchModeImageMethod · 0.45
toggleChannelMethod · 0.45
setDisplayModeMethod · 0.45
swapStackImagesMethod · 0.45

Calls 2

getImageMethod · 0.95
updateChannelAndDrawMethod · 0.95

Tested by

no test coverage detected