lv_point_array_transform() function
Transform an array of points
Arguments
points
pointer to an array of points
count
number of points in the array
angle
angle with 0.1 resolutions (123 means 12.3°)
scale_x
horizontal zoom, 256 means 100%
scale_y
vertical zoom, 256 means 100%
pivot
pointer to the pivot point of the transformation
zoom_first
true: zoom first and rotate after that; else: opposite order
![]()
lv_point_array_transform(p, p_count, angle, scale_x, scale_y, &pivot, !inv);
lv_point_array_transform() is called by 2 functions and calls 1 function:
![]()
lv_point_array_transform()
lv_point_array_transform() reads 2 variables and writes 2 variables:
![]()
lv_point_array_transform()