| 2541 | // ### DRAWING FUNCTIONS ### |
| 2542 | |
| 2543 | void DisplayManager_::drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint32_t color) |
| 2544 | { |
| 2545 | for (int16_t i = x; i < x + w; i++) |
| 2546 | { |
| 2547 | matrix->drawPixel(i, y, color); |
| 2548 | matrix->drawPixel(i, y + h - 1, color); |
| 2549 | } |
| 2550 | for (int16_t i = y; i < y + h; i++) |
| 2551 | { |
| 2552 | matrix->drawPixel(x, i, color); |
| 2553 | matrix->drawPixel(x + w - 1, i, color); |
| 2554 | } |
| 2555 | } |
| 2556 | |
| 2557 | void DisplayManager_::drawFastVLine(int16_t x, int16_t y, int16_t h, uint32_t color) |
| 2558 | { |
no test coverage detected