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

touchgfx::LCD::stringWidth() method

@fn static uint16_t LCD::stringWidth(TextProvider& textProvider, const Font& font, const int numChars, TextDirection textDirection); Find string width. Find string with of the given number of characters read from the given TextProvider.

Syntax

static uint16_t stringWidth(TextProvider& textProvider,     const Font& font,     const int numChars,     TextDirection textDirection);

Arguments

textProvider

font

The font.

numChars

Number of characters.

textDirection

The text direction.

Return value

An int16_t.

References

LocationText
LCD.hpp:555
static uint16_t stringWidth(TextProvider& textProvider, const Font& font, const int numChars, TextDirection textDirection);

Type Use

Type of touchgfx::LCD::stringWidth()
touchgfx::LCD::stringWidth()
uint16_t
all items filtered out