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

Method offScreenY2

ij/src/main/java/ij/gui/PlotCanvas.java:325–332  ·  view source on GitHub ↗
(int sy)

Source from the content-addressed store, hash-verified

323 }
324
325 @Override
326 @AstroImageJ(reason = "Support scalable plots", modified = true)
327 public int offScreenY2(int sy) {
328 if (plot.isAijPlot()) {
329 return super.offScreenY2((int) (sy / Prefs.getGuiScale()));
330 }
331 return super.offScreenY2(sy);
332 }
333
334 @Override
335 @AstroImageJ(reason = "Support scalable plots", modified = true)

Callers 4

RoiMethod · 0.45
growMethod · 0.45
moveHandleMethod · 0.45
offScreenYMethod · 0.45

Calls 2

getGuiScaleMethod · 0.95
isAijPlotMethod · 0.80

Tested by

no test coverage detected