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

Method offScreenX2

ij/src/main/java/ij/gui/PlotCanvas.java:316–323  ·  view source on GitHub ↗
(int sx)

Source from the content-addressed store, hash-verified

314 }
315
316 @Override
317 @AstroImageJ(reason = "Support scalable plots", modified = true)
318 public int offScreenX2(int sx) {
319 if (plot.isAijPlot()) {
320 return super.offScreenX2((int) (sx / Prefs.getGuiScale()));
321 }
322 return super.offScreenX2(sx);
323 }
324
325 @Override
326 @AstroImageJ(reason = "Support scalable plots", modified = true)

Callers 4

RoiMethod · 0.45
growMethod · 0.45
moveHandleMethod · 0.45
offScreenXMethod · 0.45

Calls 2

getGuiScaleMethod · 0.95
isAijPlotMethod · 0.80

Tested by

no test coverage detected