Home
last modified time | relevance | path

Searched refs:obj_to_rotate (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/src/widgets/
Dlv_arc.c352 void lv_arc_rotate_obj_to_angle(const lv_obj_t * obj, lv_obj_t * obj_to_rotate, lv_coord_t r_offset) in lv_arc_rotate_obj_to_angle() argument
355 LV_ASSERT_NULL(obj_to_rotate); in lv_arc_rotate_obj_to_angle()
367 lv_obj_align_to(obj_to_rotate, obj, LV_ALIGN_CENTER, 0, -arc_r); in lv_arc_rotate_obj_to_angle()
372 lv_coord_t pivot_x = obj_to_rotate->coords.x1 - center.x; in lv_arc_rotate_obj_to_angle()
373 lv_coord_t pivot_y = obj_to_rotate->coords.y1 - center.y; in lv_arc_rotate_obj_to_angle()
374 lv_obj_set_style_transform_pivot_x(obj_to_rotate, -pivot_x, 0); in lv_arc_rotate_obj_to_angle()
375 lv_obj_set_style_transform_pivot_y(obj_to_rotate, -pivot_y, 0); in lv_arc_rotate_obj_to_angle()
376 lv_obj_set_style_transform_angle(obj_to_rotate, angle * 10 + 900, 0); in lv_arc_rotate_obj_to_angle()
Dlv_arc.h245 void lv_arc_rotate_obj_to_angle(const lv_obj_t * obj, lv_obj_t * obj_to_rotate, lv_coord_t r_offset…
/lvgl-latest/docs/widgets/core/
Darc.md67 Similarly `lv_arc_rotate_obj_to_angle(arc, obj_to_rotate, radius_offset)` can be used to rotate the…