TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::Font::getStringWidthLTR() const from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Font::getStringWidthLTR() const

touchgfx::Font::getStringWidthLTR() const method

@fn uint16_t Font::getStringWidthLTR(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 assumed to be purely left-to-right.

Syntax

uint16_t getStringWidthLTR(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

Variable arguments providing additional information.

Return value

The width in pixels of the longest line of the specified string.

Examples

touchgfx::Font::getStringWidthLTR() const is referenced by 4 libraries and example projects.

References

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

Implementations

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