MCPcopy Create free account
hub / github.com/BruceDevices/firmware / fillRect

Method fillRect

include/VectorDisplay.h:965–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963 }
964
965 void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) {
966 if (color != curForeColor565) { foreColor565(color); }
967 fillRectangle(x, y, x + w - 1, y + h - 1);
968 }
969
970 void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color) {
971 if (color != curForeColor565) { foreColor565(color); }

Callers 5

drawMethod · 0.45
drawArrowsMethod · 0.45
drawTitleMethod · 0.45
clearIconAreaMethod · 0.45
clearImgAreaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected