touchgfx::Font::getStringWidthRTL() const method
@fn uint16_t Font::getStringWidthRTL(TextDirection textDirection, const Unicode::UnicodeChar* text, va_list pArg) const; Gets the width in pixels of the specified string. Gets the width in pixels of the specified string. If the string contains multiple lines, the width of the widest line is found. Please note that the correct number of arguments must be given if the text contains wildcards. The string is handled as a right-to-left string and subdivided into smaller text strings to correctly handle mixing of left-to-right and right-to-left strings.
Arguments
textDirection
The text direction.
text
A zero-terminated unicode string with arguments to insert if the text contains wildcards.
pArg
The argument.
Return value
The string width RTL.
Type of touchgfx::Font::getStringWidthRTL() const
touchgfx::Font::getStringWidthRTL() const
uint16_t all items filtered out