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

Method drawStringf

Code/Arduino_libraries/SSD1306/OLEDDisplay.cpp:655–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655void OLEDDisplay::drawStringf( int16_t x, int16_t y, char* buffer, String format, ... )
656{
657 va_list myargs;
658 va_start(myargs, format);
659 vsprintf(buffer, format.c_str(), myargs);
660 va_end(myargs);
661 drawString( x, y, buffer );
662}
663
664uint16_t OLEDDisplay::drawStringMaxWidth(int16_t xMove, int16_t yMove, uint16_t maxLineWidth, const String &strUser) {
665 uint16_t firstChar = pgm_read_byte(fontData + FIRST_CHAR_POS);

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected