()
| 1149 | } |
| 1150 | |
| 1151 | void drawLine() { |
| 1152 | interp.getLeftParen(); |
| 1153 | int x1 = (int)Math.round(interp.getExpression()); |
| 1154 | interp.getComma(); |
| 1155 | int y1 = (int)Math.round(interp.getExpression()); |
| 1156 | interp.getComma(); |
| 1157 | int x2 = (int)Math.round(interp.getExpression()); |
| 1158 | interp.getComma(); |
| 1159 | int y2 = (int)Math.round(interp.getExpression()); |
| 1160 | interp.getRightParen(); |
| 1161 | ImageProcessor ip = getProcessor(); |
| 1162 | ip.drawLine(x1, y1, x2, y2); |
| 1163 | updateAndDraw(); |
| 1164 | } |
| 1165 | |
| 1166 | void doIPMethod(int type) { |
| 1167 | interp.getParens(); |
no test coverage detected