MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / drawRect

Method drawRect

Code/Arduino_libraries/SSD1306/OLEDDisplay.cpp:208–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void 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
215void OLEDDisplay::fillRect(int16_t xMove, int16_t yMove, int16_t width, int16_t height) {
216 for (int16_t x = xMove; x < xMove + width; x++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected