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

touchgfx::Font::getMaxTextHeight() const method

@fn virtual uint16_t Font::getMaxTextHeight(const Unicode::UnicodeChar* text, ...) const; Gets the height of the highest character in a given string. Gets the height of the highest character in a given string. The height includes the spacing above the text which is included in the font.

Syntax

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

Arguments

text

A zero-terminated unicode string.

Return value

The height if the given text.

References

LocationReferrerScopeText
Font.hpp:315
virtual uint16_t getMaxTextHeight(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::getMaxTextHeight() const
touchgfx::Font::getMaxTextHeight() const
Type of touchgfx::Font::getMaxTextHeight() const
touchgfx::Font::getMaxTextHeight() const
uint16_t
all items filtered out