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

touchgfx::Font::getNumberOfLines() const method

@fn virtual uint16_t Font::getNumberOfLines(const Unicode::UnicodeChar* text, ...) const; Gets number of lines. Count the number of lines in a given text.

Syntax

virtual uint16_t getNumberOfLines(const Unicode::UnicodeChar* text, ...) const;

Arguments

text

The text.

Return value

The number of lines.

References

LocationReferrerScopeText
Font.hpp:426
virtual uint16_t getNumberOfLines(const Unicode::UnicodeChar* text, ...) const;
ButtonWithLabel.hpp:159touchgfx::ButtonWithLabel::updateTextPosition()touchgfx::ButtonWithLabel
textHeightIncludingSpacing = f->getMaxTextHeight(s) * f->getNumberOfLines(s) + f->getSpacingAbove(s);

Call Tree

Functions calling touchgfx::Font::getNumberOfLines() const
touchgfx::Font::getNumberOfLines() const
Type of touchgfx::Font::getNumberOfLines() const
touchgfx::Font::getNumberOfLines() const
uint16_t
all items filtered out