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

Method lineTo

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

Source from the content-addressed store, hash-verified

1138 }
1139
1140 void lineTo() {
1141 interp.getLeftParen();
1142 int a1 = (int)Math.round(interp.getExpression());
1143 interp.getComma();
1144 int a2 = (int)Math.round(interp.getExpression());
1145 interp.getRightParen();
1146 ImageProcessor ip = getProcessor();
1147 ip.lineTo(a1, a2);
1148 updateAndDraw();
1149 }
1150
1151 void drawLine() {
1152 interp.getLeftParen();

Callers 3

doFunctionMethod · 0.95
overlayLineToMethod · 0.45
overlayDrawLineMethod · 0.45

Calls 8

getProcessorMethod · 0.95
lineToMethod · 0.95
updateAndDrawMethod · 0.95
getLeftParenMethod · 0.80
getExpressionMethod · 0.80
getCommaMethod · 0.80
getRightParenMethod · 0.80
roundMethod · 0.45

Tested by

no test coverage detected