|
@@ -134,6 +134,12 @@ void graphics::draw::line(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint32
|
|
|
lineColor(graphics::renderer, x0, y0, x1, y1, color);
|
|
|
}
|
|
|
|
|
|
+void graphics::draw::arrow(int16_t x, int16_t y, int16_t w, int16_t h, uint32_t color)
|
|
|
+{
|
|
|
+ line(x, y, x + w, y + h, color);
|
|
|
+ fillCircle(x + w, y + h, 4, color);
|
|
|
+}
|
|
|
+
|
|
|
void graphics::draw::circle(int16_t x, int16_t y, int16_t radius, double angle, uint32_t color)
|
|
|
{
|
|
|
circleColor(graphics::renderer, x, y, radius, color);
|