Searched refs:arc_r (Results 1 – 1 of 1) sorted by relevance
42 static void get_center(const lv_obj_t * obj, lv_point_t * center, lv_coord_t * arc_r);340 lv_coord_t arc_r; in lv_arc_align_obj_to_angle() local341 get_center(obj, ¢er, &arc_r); in lv_arc_align_obj_to_angle()344 arc_r -= indic_width_half; in lv_arc_align_obj_to_angle()345 arc_r += r_offset; in lv_arc_align_obj_to_angle()348 lv_coord_t knob_x = (arc_r * lv_trigo_sin(angle + 90)) >> LV_TRIGO_SHIFT; in lv_arc_align_obj_to_angle()349 lv_coord_t knob_y = (arc_r * lv_trigo_sin(angle)) >> LV_TRIGO_SHIFT; in lv_arc_align_obj_to_angle()361 lv_coord_t arc_r; in lv_arc_rotate_obj_to_angle() local362 get_center(obj, ¢er, &arc_r); in lv_arc_rotate_obj_to_angle()365 arc_r -= indic_width_half; in lv_arc_rotate_obj_to_angle()[all …]