(int x0, int y0, int c0)
| 416 | } |
| 417 | |
| 418 | public void moveTo(int x0, int y0, int c0) { |
| 419 | // System.out.println("LineStroker.moveTo(" + x0/65536.0 + ", " + y0/65536.0 + ")"); |
| 420 | |
| 421 | if (lineToOrigin) { |
| 422 | // not closing the path, do the previous lineTo |
| 423 | lineToImpl(sx0, sy0, scolor0, joinToOrigin); |
| 424 | lineToOrigin = false; |
| 425 | } |
| 426 | |
| 427 | if (prev == LinePath.SEG_LINETO) { |
| 428 | finish(); |
| 429 | } |
| 430 | |
| 431 | this.sx0 = this.x0 = x0; |
| 432 | this.sy0 = this.y0 = y0; |
| 433 | this.scolor0 = this.color0 = c0; |
| 434 | this.rindex = 0; |
| 435 | this.started = false; |
| 436 | this.joinSegment = false; |
| 437 | this.prev = LinePath.SEG_MOVETO; |
| 438 | } |
| 439 | |
| 440 | boolean joinSegment = false; |
| 441 |
no test coverage detected