MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / drawWideLine

Method drawWideLine

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

Draw an anti-aliased wide line from ax,ay to bx,by width wd with radiused ends (radius is wd/2) If bg_color is not included the background pixel colour will be read from TFT or sprite

Source from the content-addressed store, hash-verified

595 // Draw an anti-aliased wide line from ax,ay to bx,by width wd with radiused ends (radius is wd/2)
596 // If bg_color is not included the background pixel colour will be read from TFT or sprite
597 void drawWideLine(float ax, float ay, float bx, float by, float wd, uint32_t fg_color, uint32_t bg_color = 0x00FFFFFF) { }
598
599 // As per "drawSmoothArc" except the ends of the arc are NOT anti-aliased, this facilitates dynamic arc length changes with
600 // arc segments and ensures clean segment joints.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected