i80_controller sample
lv_point_precise_t::x
is only used within i80_controller sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i80_controller sample
lv_point_precise_t::x
lv_point_precise_t::x field
Syntax
Show:
Summary
Declaration
from
lv_area.h:37
lv_value_precise_t
x
;
Examples
References
from
examples
Code
Location
Referrer
lv_value_precise_t
x
;
lv_area.h:37
(
int32_t
)
p
->
x
,
(
int32_t
)
p
->
y
lv_area.c:525
lv_point_from_precise()
p
->
x
=
x
;
lv_area.c:548
lv_point_precise_set()
line_dsc
.
p1
.
x
=
obj
->
coords
.
x1
;
lv_chart.c:739
draw_div_lines()
line_dsc
.
p2
.
x
=
obj
->
coords
.
x2
;
lv_chart.c:740
draw_div_lines()
line_dsc
.
p1
.
x
=
(
int32_t
)
(
(
int32_t
)
w
*
i
)
/
(
chart
->
vdiv_cnt
-
1
)
;
lv_chart.c:771
draw_div_lines()
line_dsc
.
p1
.
x
+=
x_ofs
;
lv_chart.c:772
draw_div_lines()
line_dsc
.
p2
.
x
=
line_dsc
.
p1
.
x
;
lv_chart.c:773
draw_div_lines()
line_dsc
.
p1
.
x
=
x_ofs
;
lv_chart.c:842
draw_series_line()
line_dsc
.
p2
.
x
=
x_ofs
;
lv_chart.c:843
draw_series_line()
line_dsc
.
p1
.
x
=
line_dsc
.
p2
.
x
;
lv_chart.c:855
draw_series_line()
if
(
line_dsc
.
p1
.
x
>
clip_area_ori
.
x2
+
point_w
+
1
)
break
;
lv_chart.c:858
draw_series_line()
line_dsc
.
p2
.
x
=
(
lv_value_precise_t
)
(
(
w
*
i
)
/
(
chart
->
point_cnt
-
1
)
)
+
x_ofs
;
lv_chart.c:859
draw_series_line()
if
(
line_dsc
.
p2
.
x
<
clip_area_ori
.
x1
-
point_w
-
1
)
{
lv_chart.c:867
draw_series_line()
if
(
line_dsc
.
p1
.
x
!=
line_dsc
.
p2
.
x
)
{
lv_chart.c:879
draw_series_line()
line_dsc
.
p2
.
x
--
;
/*It's already on the next x value*/
lv_chart.c:881
draw_series_line()
line_dsc
.
p1
.
x
=
line_dsc
.
p2
.
x
;
lv_chart.c:882
draw_series_line()
line_dsc
.
p2
.
x
++
;
/*Compensate the previous x--*/
lv_chart.c:887
draw_series_line()
point_area
.
x1
=
(
int32_t
)
line_dsc
.
p1
.
x
-
point_w
;
lv_chart.c:895
draw_series_line()
point_area
.
x2
=
(
int32_t
)
line_dsc
.
p1
.
x
+
point_w
;
lv_chart.c:896
draw_series_line()
point_area
.
x1
=
(
int32_t
)
line_dsc
.
p2
.
x
-
point_w
;
lv_chart.c:920
draw_series_line()
point_area
.
x2
=
(
int32_t
)
line_dsc
.
p2
.
x
+
point_w
;
lv_chart.c:921
draw_series_line()
line_dsc
.
p1
.
x
=
x_ofs
;
lv_chart.c:980
draw_series_scatter()
line_dsc
.
p2
.
x
=
x_ofs
;
lv_chart.c:981
draw_series_scatter()
line_dsc
.
p2
.
x
=
lv_map
(
ser
->
x_points
[
p_act
]
,
chart
->
xmin
[
ser
->
x_axis_sec
]
,
chart
->
xmax
[
ser
->
x_axis_sec
]
,
0
,
w
)
;
lv_chart.c:986
draw_series_scatter()
line_dsc
.
p2
.
x
+=
x_ofs
;
lv_chart.c:987
draw_series_scatter()
line_dsc
.
p2
.
x
=
(
lv_value_precise_t
)
LV_COORD_MIN
;
lv_chart.c:994
draw_series_scatter()
line_dsc
.
p1
.
x
=
line_dsc
.
p2
.
x
;
lv_chart.c:999
draw_series_scatter()
line_dsc
.
p2
.
x
=
lv_map
(
ser
->
x_points
[
p_act
]
,
chart
->
xmin
[
ser
->
x_axis_sec
]
,
chart
->
xmax
[
ser
->
x_axis_sec
]
,
0
,
w
)
;
lv_chart.c:1008
draw_series_scatter()
line_dsc
.
p2
.
x
+=
x_ofs
;
lv_chart.c:1009
draw_series_scatter()
point_area
.
x1
=
(
int32_t
)
line_dsc
.
p1
.
x
-
point_w
;
lv_chart.c:1019
draw_series_scatter()
point_area
.
x2
=
(
int32_t
)
line_dsc
.
p1
.
x
+
point_w
;
lv_chart.c:1020
draw_series_scatter()
point_area
.
x1
=
(
int32_t
)
line_dsc
.
p2
.
x
-
point_w
;
lv_chart.c:1041
draw_series_scatter()
point_area
.
x2
=
(
int32_t
)
line_dsc
.
p2
.
x
+
point_w
;
lv_chart.c:1042
draw_series_scatter()
line_dsc
.
p1
.
x
=
cursor
->
dir
&
LV_DIR_LEFT
?
obj
->
coords
.
x1
:
cx
;
lv_chart.c:1194
draw_cursors()
line_dsc
.
p2
.
x
=
cursor
->
dir
&
LV_DIR_RIGHT
?
obj
->
coords
.
x2
:
cx
;
lv_chart.c:1196
draw_cursors()
line_dsc
.
p1
.
x
=
cx
;
lv_chart.c:1210
draw_cursors()
line_dsc
.
p2
.
x
=
line_dsc
.
p1
.
x
;
lv_chart.c:1212
draw_cursors()
a
.
x1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
-
dsc
->
width
;
lv_draw_line.c:60
lv_draw_line()
a
.
x2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
+
dsc
->
width
;
lv_draw_line.c:61
lv_draw_line()
if
(
dsc
->
p1
.
x
==
dsc
->
p2
.
x
&&
dsc
->
p1
.
y
==
dsc
->
p2
.
y
)
return
;
lv_draw_sw_line.c:55
lv_draw_sw_line()
clip_line
.
x1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
-
dsc
->
width
/
2
;
lv_draw_sw_line.c:58
lv_draw_sw_line()
clip_line
.
x2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
+
dsc
->
width
/
2
;
lv_draw_sw_line.c:59
lv_draw_sw_line()
else
if
(
dsc
->
p1
.
x
==
dsc
->
p2
.
x
)
draw_line_ver
(
draw_unit
,
dsc
)
;
lv_draw_sw_line.c:69
lv_draw_sw_line()
cir_area
.
x1
=
(
int32_t
)
dsc
->
p1
.
x
-
r
;
lv_draw_sw_line.c:84
lv_draw_sw_line()
cir_area
.
x2
=
(
int32_t
)
dsc
->
p1
.
x
+
r
-
r_corr
;
lv_draw_sw_line.c:86
lv_draw_sw_line()
cir_area
.
x1
=
(
int32_t
)
dsc
->
p2
.
x
-
r
;
lv_draw_sw_line.c:92
lv_draw_sw_line()
cir_area
.
x2
=
(
int32_t
)
dsc
->
p2
.
x
+
r
-
r_corr
;
lv_draw_sw_line.c:94
lv_draw_sw_line()
blend_area
.
x1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
;
lv_draw_sw_line.c:112
draw_line_hor()
blend_area
.
x2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
x
,
dsc
->
p2
.
x
)
-
1
;
lv_draw_sw_line.c:113
draw_line_hor()
blend_area
.
x1
=
(
int32_t
)
dsc
->
p1
.
x
-
w_half1
;
lv_draw_sw_line.c:187
draw_line_ver()
blend_area
.
x2
=
(
int32_t
)
dsc
->
p1
.
x
+
w_half0
;
lv_draw_sw_line.c:188
draw_line_ver()
tri_area
.
x1
=
(
int32_t
)
LV_MIN3
(
dsc
->
p
[
0
]
.
x
,
dsc
->
p
[
1
]
.
x
,
dsc
->
p
[
2
]
.
x
)
;
lv_draw_sw_triangle.c:51
lv_draw_sw_triangle()
tri_area
.
x2
=
(
int32_t
)
LV_MAX3
(
dsc
->
p
[
0
]
.
x
,
dsc
->
p
[
1
]
.
x
,
dsc
->
p
[
2
]
.
x
)
;
lv_draw_sw_triangle.c:53
lv_draw_sw_triangle()
if
(
dsc
->
p
[
0
]
.
x
==
dsc
->
p
[
1
]
.
x
)
{
lv_draw_sw_triangle.c:63
lv_draw_sw_triangle()
else
if
(
dsc
->
p
[
0
]
.
x
==
dsc
->
p
[
2
]
.
x
)
{
lv_draw_sw_triangle.c:68
lv_draw_sw_triangle()
else
if
(
dsc
->
p
[
1
]
.
x
==
dsc
->
p
[
2
]
.
x
)
{
lv_draw_sw_triangle.c:73
lv_draw_sw_triangle()
a
.
x1
=
(
int32_t
)
LV_MIN3
(
dsc
->
p
[
0
]
.
x
,
dsc
->
p
[
1
]
.
x
,
dsc
->
p
[
2
]
.
x
)
;
lv_draw_triangle.c:66
lv_draw_triangle()
a
.
x2
=
(
int32_t
)
LV_MAX3
(
dsc
->
p
[
0
]
.
x
,
dsc
->
p
[
1
]
.
x
,
dsc
->
p
[
2
]
.
x
)
;
lv_draw_triangle.c:68
lv_draw_triangle()
dsc
.
p1
.
x
=
15
;
lv_example_canvas_7.c:31
lv_example_canvas_7()
dsc
.
p2
.
x
=
35
;
lv_example_canvas_7.c:33
lv_example_canvas_7()
tri_dsc
.
p
[
0
]
.
x
=
draw_line_dsc
->
p1
.
x
;
lv_example_chart_5.c:67
add_faded_area()
tri_dsc
.
p
[
1
]
.
x
=
draw_line_dsc
->
p2
.
x
;
lv_example_chart_5.c:69
add_faded_area()
tri_dsc
.
p
[
2
]
.
x
=
draw_line_dsc
->
p1
.
y
<
draw_line_dsc
->
p2
.
y
?
draw_line_dsc
->
p1
.
x
:
draw_line_dsc
->
p2
.
x
;
lv_example_chart_5.c:71
add_faded_area()
rect_area
.
x1
=
(
int32_t
)
draw_line_dsc
->
p1
.
x
;
lv_example_chart_5.c:99
add_faded_area()
rect_area
.
x2
=
(
int32_t
)
draw_line_dsc
->
p2
.
x
-
1
;
lv_example_chart_5.c:100
add_faded_area()
if
(
line_dsc
->
p1
.
x
==
line_dsc
->
p2
.
x
)
{
lv_example_chart_5.c:113
hook_division_lines()
if
(
!
LV_COORD_IS_PCT
(
(
int32_t
)
line
->
point_array
.
constant
[
i
]
.
x
)
)
{
lv_line.c:214
lv_line_event()
w
=
(
int32_t
)
LV_MAX
(
line
->
point_array
.
constant
[
i
]
.
x
,
w
)
;
lv_line.c:215
lv_line_event()
line_dsc
.
p1
.
x
=
resolve_point_coord
(
line
->
point_array
.
constant
[
i
]
.
x
,
w
)
+
x_ofs
;
lv_line.c:247
lv_line_event()
line_dsc
.
p2
.
x
=
resolve_point_coord
(
line
->
point_array
.
constant
[
i
+
1
]
.
x
,
w
)
+
x_ofs
;
lv_line.c:250
lv_line_event()
needle_line_points
[
0
]
.
x
=
scale_width
/
2
;
lv_scale.c:257
lv_scale_set_line_needle_value()
needle_line_points
[
1
]
.
x
=
scale_width
/
2
+
needle_length_x
;
lv_scale.c:259
lv_scale_set_line_needle_value()
section_line_dsc
.
p1
.
x
=
section_point_a
.
x
;
lv_scale.c:850
scale_draw_main()
section_line_dsc
.
p2
.
x
=
section_point_b
.
x
;
lv_scale.c:852
scale_draw_main()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_point_precise_t::x
is written by 10 functions and is read by 14 functions:
lv_point_precise_set()
draw_div_lines()
draw_series_line()
draw_series_scatter()
draw_cursors()
lv_line_event()
lv_scale_set_line_needle_value()
scale_draw_main()
lv_example_canvas_7()
add_faded_area()
All items filtered out
lv_point_precise_t::x
lv_draw_line()
lv_draw_triangle()
lv_draw_sw_line()
draw_line_hor()
draw_line_ver()
lv_draw_sw_triangle()
lv_point_from_precise()
draw_div_lines()
draw_series_line()
draw_series_scatter()
draw_cursors()
lv_line_event()
add_faded_area()
hook_division_lines()
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