i80_controller sample
lv_image_t::pivot
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_image_t::pivot
lv_image_t::pivot field
Rotation center of the image
Syntax
Show:
Summary
Declaration
from
lv_image_private.h:43
lv_point_t
pivot
;
Examples
References
from
examples
Code
Location
Referrer
lv_point_t
pivot
;
/**< Rotation center of the image*/
lv_image_private.h:43
if
(
img
->
pivot
.
x
==
x
&&
img
->
pivot
.
y
==
y
)
return
;
lv_image.c:325
lv_image_set_pivot()
lv_point_set
(
&
img
->
pivot
,
x
,
y
)
;
lv_image.c:340
lv_image_set_pivot()
pivot
->
x
=
lv_pct_to_px
(
img
->
pivot
.
x
,
img
->
w
)
;
lv_image.c:503
lv_image_get_pivot()
pivot
->
y
=
lv_pct_to_px
(
img
->
pivot
.
y
,
img
->
h
)
;
lv_image.c:504
lv_image_get_pivot()
lv_point_set
(
&
img
->
pivot
,
LV_PCT
(
50
)
,
LV_PCT
(
50
)
)
;
/*Default pivot to image center*/
lv_image.c:591
lv_image_constructor()
img
->
rotation
!=
0
||
img
->
pivot
.
x
!=
img
->
w
/
2
||
img
->
pivot
.
y
!=
img
->
h
/
2
)
)
{
lv_image.c:659
lv_image_event()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_image_t::pivot
is read by 3 functions:
All items filtered out
lv_image_t::pivot
lv_image_set_pivot()
lv_image_get_pivot()
lv_image_event()
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