Lines Matching refs:start
88 void lv_arc_set_start_angle(lv_obj_t * obj, uint16_t start) in lv_arc_set_start_angle() argument
93 if(start > 360) start -= 360; in lv_arc_set_start_angle()
96 int16_t new_delta = arc->indic_angle_end - start; in lv_arc_set_start_angle()
102 …else if(new_delta < old_delta) inv_arc_area(obj, arc->indic_angle_start, start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
103 …else if(old_delta < new_delta) inv_arc_area(obj, start, arc->indic_angle_start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
107 arc->indic_angle_start = start; in lv_arc_set_start_angle()
135 void lv_arc_set_angles(lv_obj_t * obj, uint16_t start, uint16_t end) in lv_arc_set_angles() argument
138 lv_arc_set_start_angle(obj, start); in lv_arc_set_angles()
141 void lv_arc_set_bg_start_angle(lv_obj_t * obj, uint16_t start) in lv_arc_set_bg_start_angle() argument
146 if(start > 360) start -= 360; in lv_arc_set_bg_start_angle()
149 int16_t new_delta = arc->bg_angle_end - start; in lv_arc_set_bg_start_angle()
155 else if(new_delta < old_delta) inv_arc_area(obj, arc->bg_angle_start, start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
156 else if(old_delta < new_delta) inv_arc_area(obj, start, arc->bg_angle_start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
158 arc->bg_angle_start = start; in lv_arc_set_bg_start_angle()
185 void lv_arc_set_bg_angles(lv_obj_t * obj, uint16_t start, uint16_t end) in lv_arc_set_bg_angles() argument
188 lv_arc_set_bg_start_angle(obj, start); in lv_arc_set_bg_angles()