Skip to main content

lv_point_transform

Function lv_point_transform 

Source
pub unsafe extern "C" fn lv_point_transform(
    point: *mut lv_point_t,
    angle: i32,
    scale_x: i32,
    scale_y: i32,
    pivot: *const lv_point_t,
    zoom_first: bool,
)
Expand description

Transform a point @param point pointer to a point @param angle angle with 0.1 resolutions (123 means 12.3°) @param scale_x horizontal zoom, 256 means 100% @param scale_y vertical zoom, 256 means 100% @param pivot pointer to the pivot point of the transformation @param zoom_first true: zoom first and rotate after that; else: opposite order