| 206 | } |
| 207 | |
| 208 | void OLEDDisplay::drawRect(int16_t x, int16_t y, int16_t width, int16_t height) { |
| 209 | drawHorizontalLine(x, y, width); |
| 210 | drawVerticalLine(x, y, height); |
| 211 | drawVerticalLine(x + width - 1, y, height); |
| 212 | drawHorizontalLine(x, y + height - 1, width); |
| 213 | } |
| 214 | |
| 215 | void OLEDDisplay::fillRect(int16_t xMove, int16_t yMove, int16_t width, int16_t height) { |
| 216 | for (int16_t x = xMove; x < xMove + width; x++) { |
nothing calls this directly
no outgoing calls
no test coverage detected