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

Method drawTriangle

Code/Arduino_libraries/SSD1306/OLEDDisplay.cpp:307–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void OLEDDisplay::drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1,
308 int16_t x2, int16_t y2) {
309 drawLine(x0, y0, x1, y1);
310 drawLine(x1, y1, x2, y2);
311 drawLine(x2, y2, x0, y0);
312}
313
314void OLEDDisplay::fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1,
315 int16_t x2, int16_t y2) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected