| 477 | } |
| 478 | |
| 479 | void arc(int x, int y, int r, FixedPoint32 angle1, FixedPoint32 sweep, bool fill = false) { |
| 480 | args.arc.x = x; |
| 481 | args.arc.y = y; |
| 482 | args.arc.r = r; |
| 483 | args.arc.angle1 = angle1; |
| 484 | args.arc.sweep = sweep; |
| 485 | args.arc.filled = fill ? 1 : 0; |
| 486 | sendCommand('S', &args, 15); |
| 487 | } |
| 488 | |
| 489 | void arc(int x, int y, int r, float angle1, float sweep, bool fill = false) { |
| 490 | arc(x, y, r, TO_FP32(angle1), TO_FP32(sweep), fill); |