touchgfx::LCD::drawString() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::LCD::drawString() method

@fn void LCD::drawString(Rect widgetArea, const Rect& invalidatedArea, StringVisuals& stringVisuals, const Unicode::UnicodeChar* format, ...); Draws the specified unicode string. Draws the specified unicode string. Breaks line on newline.

Syntax

void drawString(Rect widgetArea,     const Rect& invalidatedArea,     StringVisuals& stringVisuals,     const Unicode::UnicodeChar* format, ...);

Arguments

widgetArea

The area covered by the drawing widget in absolute coordinates.

invalidatedArea

The (sub)region of the widget area to draw, expressed relative to the widget area. If the widgetArea is (x, y, width, height) = (10, 10, 20, 20) and invalidatedArea is (x, y, width, height) = (5, 5, 6, 6) the widgetArea drawn on the LCD is (x, y, width, height) = (15, 15, 6, 6).

stringVisuals

format

A pointer to a zero terminated text string with optional additional wildcard arguments.