MCPcopy Create free account
hub / github.com/BruceDevices/firmware / arc

Method arc

include/VectorDisplay.h:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 1

renderTFTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected