i2c_oled sample
lv_txt_get_size()
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_size()
lv_txt_get_size() function
GLOBAL FUNCTIONS
Syntax
Show:
Summary
Declaration
Definition
from
lv_txt.h:83
void
lv_txt_get_size
(
lv_point_t
*
size_res
,
const
char
*
text
,
const
lv_font_t
*
font
,
lv_coord_t
letter_space
,
lv_coord_t
line_space
,
lv_coord_t
max_width
,
lv_text_flag_t
flag
)
;
Implemented in
lv_txt.c:91
Arguments
Argument
size_res
text
font
letter_space
line_space
max_width
flag
Examples
References
from
examples
Code
Location
Referrer
void
lv_txt_get_size
(
lv_point_t
*
size_res
,
const
char
*
text
,
const
lv_font_t
*
font
,
lv_coord_t
letter_space
,
lv_txt.c:91
void
lv_txt_get_size
(
lv_point_t
*
size_res
,
const
char
*
text
,
const
lv_font_t
*
font
,
lv_coord_t
letter_space
,
lv_txt.h:83
lv_txt_get_size
(
&
txt_size
,
txt
,
font
,
letter_space
,
lv_btnmatrix.c:785
draw_main()
lv_txt_get_size
(
&
size
,
part_draw_dsc
.
text
,
label_dsc
.
font
,
label_dsc
.
letter_space
,
label_dsc
.
line_space
,
LV_COORD_MAX
,
lv_chart.c:1472
draw_y_ticks()
lv_txt_get_size
(
&
size
,
part_draw_dsc
.
text
,
label_dsc
.
font
,
label_dsc
.
letter_space
,
label_dsc
.
line_space
,
LV_COORD_MAX
,
lv_chart.c:1609
draw_x_ticks()
lv_txt_get_size
(
&
txt_size
,
cb
->
txt
,
font
,
letter_space
,
line_space
,
LV_COORD_MAX
,
LV_TEXT_FLAG_NONE
)
;
lv_checkbox.c:169
lv_checkbox_event()
lv_txt_get_size
(
&
txt_size
,
cb
->
txt
,
font
,
letter_space
,
line_space
,
LV_COORD_MAX
,
LV_TEXT_FLAG_NONE
)
;
lv_checkbox.c:247
lv_checkbox_draw()
lv_txt_get_size
(
&
p
,
txt
,
dsc
->
font
,
dsc
->
letter_space
,
dsc
->
line_space
,
LV_COORD_MAX
,
lv_draw_label.c:116
lv_draw_label()
lv_txt_get_size
(
&
size
,
dsc
->
bg_img_src
,
dsc
->
bg_img_symbol_font
,
0
,
0
,
LV_COORD_MAX
,
LV_TEXT_FLAG_NONE
)
;
lv_draw_sw_rect.c:346
draw_bg_img()
lv_txt_get_size
(
&
size
,
dropdown
->
symbol
,
symbol_dsc
.
font
,
symbol_dsc
.
letter_space
,
symbol_dsc
.
line_space
,
LV_COORD_MAX
,
lv_dropdown.c:807
draw_main()
lv_txt_get_size
(
&
size
,
opt_txt
,
label_dsc
.
font
,
label_dsc
.
letter_space
,
label_dsc
.
line_space
,
LV_COORD_MAX
,
lv_dropdown.c:858
draw_main()
lv_txt_get_size
(
&
size
,
src
,
font
,
letter_space
,
line_space
,
LV_COORD_MAX
,
LV_TEXT_FLAG_NONE
)
;
lv_img.c:143
lv_img_set_src()
lv_txt_get_size
(
&
size
,
label
->
text
,
font
,
letter_space
,
line_space
,
w
,
flag
)
;
lv_label.c:779
lv_label_event()
lv_txt_get_size
(
&
size
,
label
->
text
,
label_draw_dsc
.
font
,
label_draw_dsc
.
letter_space
,
label_draw_dsc
.
line_space
,
lv_label.c:827
draw_main()
lv_txt_get_size
(
&
size
,
label
->
text
,
label_draw_dsc
.
font
,
label_draw_dsc
.
letter_space
,
label_draw_dsc
.
line_space
,
lv_label.c:867
draw_main()
lv_txt_get_size
(
&
size
,
label
->
text
,
font
,
letter_space
,
line_space
,
max_w
,
flag
)
;
lv_label.c:917
lv_label_refr_text()
lv_txt_get_size
(
&
label_size
,
part_draw_dsc
.
text
,
label_dsc
.
font
,
label_dsc
.
letter_space
,
label_dsc
.
line_space
,
lv_meter.c:514
draw_ticks_and_labels()
lv_txt_get_size
(
&
res_p
,
lv_label_get_text
(
label
)
,
label_dsc
.
font
,
label_dsc
.
letter_space
,
label_dsc
.
line_space
,
lv_roller.c:483
draw_main()
lv_txt_get_size
(
&
size
,
txt
,
font
,
letter_space
,
0
,
LV_COORD_MAX
,
LV_TEXT_FLAG_NONE
)
;
lv_roller.c:770
get_selected_label_width()
lv_txt_get_size
(
&
txt_size
,
table
->
cell_data
[
cell
]
+
1
,
label_dsc_def
.
font
,
lv_table.c:738
draw_main()
lv_txt_get_size
(
&
txt_size
,
table
->
cell_data
[
cell
]
+
1
,
font
,
lv_table.c:882
get_row_height()
Call Tree
from
examples
lv_txt_get_size()
is called by 17 functions and calls 3 functions:
lv_draw_label()
draw_bg_img()
draw_y_ticks()
draw_x_ticks()
draw_ticks_and_labels()
draw_main()
lv_checkbox_event()
lv_checkbox_draw()
draw_main()
lv_img_set_src()
lv_label_event()
draw_main()
lv_label_refr_text()
draw_main()
get_selected_label_width()
draw_main()
get_row_height()
All items filtered out
lv_txt_get_size()
lv_font_get_line_height()
_lv_txt_get_next_line()
lv_txt_get_width()
All items filtered out
Data Use
from
examples
lv_txt_get_size()
reads 3 variables and writes 2 variables:
lv_point_t::x
lv_point_t::y
::LV_TEXT_FLAG_EXPAND
All items filtered out
lv_txt_get_size()
lv_point_t::x
lv_point_t::y
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