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
| 980 | // Draw an anti-aliased wide line from ax,ay to bx,by width wd with radiused ends (radius is wd/2) |
| 981 | // If bg_color is not included the background pixel colour will be read from TFT or sprite |
| 982 | void drawWideLine( |
| 983 | float ax, float ay, float bx, float by, float wd, uint32_t fg_color, uint32_t bg_color = 0x00FFFFFF |
| 984 | ) { |
| 985 | drawRect(ax, ay, wd, abs(ay - by), fg_color); |
| 986 | } |
| 987 | |
| 988 | // As per "drawSmoothArc" except the ends of the arc are NOT anti-aliased, this facilitates dynamic arc |
| 989 | // length changes with arc segments and ensures clean segment joints. The sides of the arc are |