i2c_oled sample
lv_txt_get_width()
is only used within i2c_oled sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i2c_oled sample
lv_txt_get_width()
lv_txt_get_width() function
Give the length of a text with a given font
Syntax
Show:
Summary
Declaration
Definition
from
lv_txt.h:112
lv_coord_t
lv_txt_get_width
(
const
char
*
txt
,
uint32_t
length
,
const
lv_font_t
*
font
,
lv_coord_t
letter_space
,
lv_text_flag_t
flag
)
;
Implemented in
lv_txt.c:343
Arguments
Argument
Description
txt
a '\0' terminate string
length
length of 'txt' in byte count and not characters (Á is 1 character but 2 bytes in UTF-8)
font
pointer to a font
letter_space
letter space
flag
Return value
length of a char_num long text
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out