i80_controller sample
lv_point_precise_t::y
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::y
lv_point_precise_t::y field
Syntax
Show:
Summary
Declaration
from
lv_area.h:38
lv_value_precise_t
y
;
Examples
References
from
examples
Code
Location
Referrer
lv_value_precise_t
y
;
lv_area.h:38
(
int32_t
)
p
->
x
,
(
int32_t
)
p
->
y
lv_area.c:525
lv_point_from_precise()
p
->
y
=
y
;
lv_area.c:549
lv_point_precise_set()
line_dsc
.
p1
.
y
=
(
int32_t
)
(
(
int32_t
)
h
*
i
)
/
(
chart
->
hdiv_cnt
-
1
)
;
lv_chart.c:750
draw_div_lines()
line_dsc
.
p1
.
y
+=
y_ofs
;
lv_chart.c:751
draw_div_lines()
line_dsc
.
p2
.
y
=
line_dsc
.
p1
.
y
;
lv_chart.c:752
draw_div_lines()
line_dsc
.
p1
.
y
=
obj
->
coords
.
y1
;
lv_chart.c:761
draw_div_lines()
line_dsc
.
p2
.
y
=
obj
->
coords
.
y2
;
lv_chart.c:762
draw_div_lines()
line_dsc
.
p2
.
y
=
h
-
y_tmp
+
y_ofs
;
lv_chart.c:849
draw_series_line()
lv_value_precise_t
y_min
=
line_dsc
.
p2
.
y
;
lv_chart.c:851
draw_series_line()
lv_value_precise_t
y_max
=
line_dsc
.
p2
.
y
;
lv_chart.c:852
draw_series_line()
line_dsc
.
p1
.
y
=
line_dsc
.
p2
.
y
;
lv_chart.c:856
draw_series_line()
line_dsc
.
p2
.
y
=
h
-
y_tmp
+
y_ofs
;
lv_chart.c:865
draw_series_line()
y_max
=
LV_MAX
(
y_max
,
line_dsc
.
p2
.
y
)
;
lv_chart.c:877
draw_series_line()
y_min
=
LV_MIN
(
y_min
,
line_dsc
.
p2
.
y
)
;
lv_chart.c:878
draw_series_line()
lv_value_precise_t
y_cur
=
line_dsc
.
p2
.
y
;
lv_chart.c:880
draw_series_line()
line_dsc
.
p1
.
y
=
y_min
;
lv_chart.c:883
draw_series_line()
line_dsc
.
p2
.
y
=
y_max
;
lv_chart.c:884
draw_series_line()
if
(
line_dsc
.
p1
.
y
==
line_dsc
.
p2
.
y
)
line_dsc
.
p2
.
y
++
;
/*If they are the same no line will be drawn*/
lv_chart.c:885
draw_series_line()
point_area
.
y1
=
(
int32_t
)
line_dsc
.
p1
.
y
-
point_h
;
lv_chart.c:897
draw_series_line()
point_area
.
y2
=
(
int32_t
)
line_dsc
.
p1
.
y
+
point_h
;
lv_chart.c:898
draw_series_line()
point_area
.
y1
=
(
int32_t
)
line_dsc
.
p2
.
y
-
point_h
;
lv_chart.c:922
draw_series_line()
point_area
.
y2
=
(
int32_t
)
line_dsc
.
p2
.
y
+
point_h
;
lv_chart.c:923
draw_series_line()
line_dsc
.
p2
.
y
=
lv_map
(
ser
->
y_points
[
p_act
]
,
chart
->
ymin
[
ser
->
y_axis_sec
]
,
chart
->
ymax
[
ser
->
y_axis_sec
]
,
0
,
h
)
;
lv_chart.c:989
draw_series_scatter()
line_dsc
.
p2
.
y
=
h
-
line_dsc
.
p2
.
y
;
lv_chart.c:990
draw_series_scatter()
line_dsc
.
p2
.
y
+=
y_ofs
;
lv_chart.c:991
draw_series_scatter()
line_dsc
.
p2
.
y
=
(
lv_value_precise_t
)
LV_COORD_MIN
;
lv_chart.c:995
draw_series_scatter()
line_dsc
.
p1
.
y
=
line_dsc
.
p2
.
y
;
lv_chart.c:1000
draw_series_scatter()
line_dsc
.
p2
.
y
=
lv_map
(
ser
->
y_points
[
p_act
]
,
chart
->
ymin
[
ser
->
y_axis_sec
]
,
chart
->
ymax
[
ser
->
y_axis_sec
]
,
0
,
h
)
;
lv_chart.c:1004
draw_series_scatter()
line_dsc
.
p2
.
y
=
h
-
line_dsc
.
p2
.
y
;
lv_chart.c:1005
draw_series_scatter()
line_dsc
.
p2
.
y
+=
y_ofs
;
lv_chart.c:1006
draw_series_scatter()
point_area
.
y1
=
(
int32_t
)
line_dsc
.
p1
.
y
-
point_h
;
lv_chart.c:1021
draw_series_scatter()
point_area
.
y2
=
(
int32_t
)
line_dsc
.
p1
.
y
+
point_h
;
lv_chart.c:1022
draw_series_scatter()
point_area
.
y1
=
(
int32_t
)
line_dsc
.
p2
.
y
-
point_h
;
lv_chart.c:1043
draw_series_scatter()
point_area
.
y2
=
(
int32_t
)
line_dsc
.
p2
.
y
+
point_h
;
lv_chart.c:1044
draw_series_scatter()
line_dsc
.
p1
.
y
=
cy
;
lv_chart.c:1195
draw_cursors()
line_dsc
.
p2
.
y
=
line_dsc
.
p1
.
y
;
lv_chart.c:1197
draw_cursors()
line_dsc
.
p1
.
y
=
cursor
->
dir
&
LV_DIR_TOP
?
obj
->
coords
.
y1
:
cy
;
lv_chart.c:1211
draw_cursors()
line_dsc
.
p2
.
y
=
cursor
->
dir
&
LV_DIR_BOTTOM
?
obj
->
coords
.
y2
:
cy
;
lv_chart.c:1213
draw_cursors()
a
.
y1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
-
dsc
->
width
;
lv_draw_line.c:62
lv_draw_line()
a
.
y2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
+
dsc
->
width
;
lv_draw_line.c:63
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
.
y1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
-
dsc
->
width
/
2
;
lv_draw_sw_line.c:60
lv_draw_sw_line()
clip_line
.
y2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
+
dsc
->
width
/
2
;
lv_draw_sw_line.c:61
lv_draw_sw_line()
if
(
dsc
->
p1
.
y
==
dsc
->
p2
.
y
)
draw_line_hor
(
draw_unit
,
dsc
)
;
lv_draw_sw_line.c:68
lv_draw_sw_line()
cir_area
.
y1
=
(
int32_t
)
dsc
->
p1
.
y
-
r
;
lv_draw_sw_line.c:85
lv_draw_sw_line()
cir_area
.
y2
=
(
int32_t
)
dsc
->
p1
.
y
+
r
-
r_corr
;
lv_draw_sw_line.c:87
lv_draw_sw_line()
cir_area
.
y1
=
(
int32_t
)
dsc
->
p2
.
y
-
r
;
lv_draw_sw_line.c:93
lv_draw_sw_line()
cir_area
.
y2
=
(
int32_t
)
dsc
->
p2
.
y
+
r
-
r_corr
;
lv_draw_sw_line.c:95
lv_draw_sw_line()
blend_area
.
y1
=
(
int32_t
)
dsc
->
p1
.
y
-
w_half1
;
lv_draw_sw_line.c:114
draw_line_hor()
blend_area
.
y2
=
(
int32_t
)
dsc
->
p1
.
y
+
w_half0
;
lv_draw_sw_line.c:115
draw_line_hor()
blend_area
.
y1
=
(
int32_t
)
LV_MIN
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
;
lv_draw_sw_line.c:189
draw_line_ver()
blend_area
.
y2
=
(
int32_t
)
LV_MAX
(
dsc
->
p1
.
y
,
dsc
->
p2
.
y
)
-
1
;
lv_draw_sw_line.c:190
draw_line_ver()
if
(
dsc
->
p1
.
y
<
dsc
->
p2
.
y
)
{
lv_draw_sw_line.c:257
draw_line_skew()
tri_area
.
y1
=
(
int32_t
)
LV_MIN3
(
dsc
->
p
[
0
]
.
y
,
dsc
->
p
[
1
]
.
y
,
dsc
->
p
[
2
]
.
y
)
;
lv_draw_sw_triangle.c:52
lv_draw_sw_triangle()
tri_area
.
y2
=
(
int32_t
)
LV_MAX3
(
dsc
->
p
[
0
]
.
y
,
dsc
->
p
[
1
]
.
y
,
dsc
->
p
[
2
]
.
y
)
;
lv_draw_sw_triangle.c:54
lv_draw_sw_triangle()
a
.
y1
=
(
int32_t
)
LV_MIN3
(
dsc
->
p
[
0
]
.
y
,
dsc
->
p
[
1
]
.
y
,
dsc
->
p
[
2
]
.
y
)
;
lv_draw_triangle.c:67
lv_draw_triangle()
a
.
y2
=
(
int32_t
)
LV_MAX3
(
dsc
->
p
[
0
]
.
y
,
dsc
->
p
[
1
]
.
y
,
dsc
->
p
[
2
]
.
y
)
;
lv_draw_triangle.c:69
lv_draw_triangle()
dsc
.
p1
.
y
=
15
;
lv_example_canvas_7.c:32
lv_example_canvas_7()
dsc
.
p2
.
y
=
10
;
lv_example_canvas_7.c:34
lv_example_canvas_7()
tri_dsc
.
p
[
0
]
.
y
=
draw_line_dsc
->
p1
.
y
;
lv_example_chart_5.c:68
add_faded_area()
tri_dsc
.
p
[
1
]
.
y
=
draw_line_dsc
->
p2
.
y
;
lv_example_chart_5.c:70
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()
tri_dsc
.
p
[
2
]
.
y
=
LV_MAX
(
draw_line_dsc
->
p1
.
y
,
draw_line_dsc
->
p2
.
y
)
;
lv_example_chart_5.c:72
add_faded_area()
int32_t
fract_uppter
=
(
int32_t
)
(
LV_MIN
(
draw_line_dsc
->
p1
.
y
,
draw_line_dsc
->
p2
.
y
)
-
coords
.
y1
)
*
255
/
full_h
;
lv_example_chart_5.c:76
add_faded_area()
int32_t
fract_lower
=
(
int32_t
)
(
LV_MAX
(
draw_line_dsc
->
p1
.
y
,
draw_line_dsc
->
p2
.
y
)
-
coords
.
y1
)
*
255
/
full_h
;
lv_example_chart_5.c:77
add_faded_area()
rect_area
.
y1
=
(
int32_t
)
LV_MAX
(
draw_line_dsc
->
p1
.
y
,
draw_line_dsc
->
p2
.
y
)
-
1
;
lv_example_chart_5.c:101
add_faded_area()
if
(
!
LV_COORD_IS_PCT
(
(
int32_t
)
line
->
point_array
.
constant
[
i
]
.
y
)
)
{
lv_line.c:218
lv_line_event()
h
=
(
int32_t
)
LV_MAX
(
line
->
point_array
.
constant
[
i
]
.
y
,
h
)
;
lv_line.c:219
lv_line_event()
line_dsc
.
p1
.
y
=
resolve_point_coord
(
line
->
point_array
.
constant
[
i
]
.
y
,
h
)
;
lv_line.c:248
lv_line_event()
line_dsc
.
p2
.
y
=
resolve_point_coord
(
line
->
point_array
.
constant
[
i
+
1
]
.
y
,
h
)
;
lv_line.c:251
lv_line_event()
line_dsc
.
p1
.
y
=
line_dsc
.
p1
.
y
+
y_ofs
;
lv_line.c:254
lv_line_event()
line_dsc
.
p2
.
y
=
line_dsc
.
p2
.
y
+
y_ofs
;
lv_line.c:255
lv_line_event()
line_dsc
.
p1
.
y
=
h
-
line_dsc
.
p1
.
y
+
y_ofs
;
lv_line.c:258
lv_line_event()
line_dsc
.
p2
.
y
=
h
-
line_dsc
.
p2
.
y
+
y_ofs
;
lv_line.c:259
lv_line_event()
needle_line_points
[
0
]
.
y
=
scale_height
/
2
;
lv_scale.c:258
lv_scale_set_line_needle_value()
needle_line_points
[
1
]
.
y
=
scale_height
/
2
+
needle_length_y
;
lv_scale.c:260
lv_scale_set_line_needle_value()
section_line_dsc
.
p1
.
y
=
section_point_a
.
y
;
lv_scale.c:851
scale_draw_main()
section_line_dsc
.
p2
.
y
=
section_point_b
.
y
;
lv_scale.c:853
scale_draw_main()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_point_precise_t::y
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::y
lv_draw_line()
lv_draw_triangle()
lv_draw_sw_line()
draw_line_hor()
draw_line_ver()
draw_line_skew()
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()
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