TouchGFX
touchgfx::Font::getNumberOfLines() const
is only used within TouchGFX.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
touchgfx::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
from
Font.hpp:426
virtual
uint16_t
getNumberOfLines
(
const
Unicode
::
UnicodeChar
*
text
,
...
)
const
;
Arguments
text
The text.
Return value
The number of lines.
References
Location
Referrer
Scope
Text
Font.hpp:426
virtual
uint16_t
getNumberOfLines
(
const
Unicode
::
UnicodeChar
*
text
,
...
)
const
;
ButtonWithLabel.hpp:159
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel
textHeightIncludingSpacing
=
f
->
getMaxTextHeight
(
s
)
*
f
->
getNumberOfLines
(
s
)
+
f
->
getSpacingAbove
(
s
)
;
Call Tree
Functions calling
touchgfx::Font::getNumberOfLines() const
touchgfx::ButtonWithLabel::updateTextPosition()
all items filtered out
touchgfx::Font::getNumberOfLines() const
Type of
touchgfx::Font::getNumberOfLines() const
touchgfx::Font::getNumberOfLines() const
uint16_t
all items filtered out