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

Method overlayLineTo

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

Source from the content-addressed store, hash-verified

7275 }
7276
7277 double overlayLineTo() {
7278 if (overlayPath==null) {
7279 overlayPath = new GeneralPath();
7280 overlayPath.moveTo(0, 0);
7281 }
7282 interp.getLeftParen();
7283 float x = (float)interp.getExpression();
7284 interp.getComma();
7285 float y = (float)interp.getExpression();
7286 interp.getRightParen();
7287 overlayPath.lineTo(x, y);
7288 return Double.NaN;
7289 }
7290
7291 double overlayDrawLine() {
7292 if (overlayPath==null) overlayPath = new GeneralPath();

Callers 1

doOverlayMethod · 0.95

Calls 6

getLeftParenMethod · 0.80
getExpressionMethod · 0.80
getCommaMethod · 0.80
getRightParenMethod · 0.80
moveToMethod · 0.45
lineToMethod · 0.45

Tested by

no test coverage detected