touchgfx::Font::getStringWidthRTL() const is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Font::getStringWidthRTL() const

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.

Syntax

uint16_t getStringWidthRTL(TextDirection textDirection,     const Unicode::UnicodeChar* text,     va_list pArg) const;

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.

References

LocationText
Font.hpp:469
uint16_t getStringWidthRTL(TextDirection textDirection, const Unicode::UnicodeChar* text, va_list pArg) const;

Type Use

Type of touchgfx::Font::getStringWidthRTL() const
touchgfx::Font::getStringWidthRTL() const
uint16_t
all items filtered out