Home
last modified time | relevance | path

Searched refs:start_quarter (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.5.0/src/draw/
Dlv_draw_arc.c76 uint8_t start_quarter = start_angle / 90; in lv_draw_arc_get_area() local
80 if(start_quarter == 4) start_quarter = 3; in lv_draw_arc_get_area()
83 if(start_quarter == end_quarter && start_angle <= end_angle) { in lv_draw_arc_get_area()
84 if(start_quarter == 0) { in lv_draw_arc_get_area()
91 else if(start_quarter == 1) { in lv_draw_arc_get_area()
98 else if(start_quarter == 2) { in lv_draw_arc_get_area()
105 else if(start_quarter == 3) { in lv_draw_arc_get_area()
113 else if(start_quarter == 0 && end_quarter == 1) { in lv_draw_arc_get_area()
120 else if(start_quarter == 1 && end_quarter == 2) { in lv_draw_arc_get_area()
127 else if(start_quarter == 2 && end_quarter == 3) { in lv_draw_arc_get_area()
[all …]
/lvgl-3.5.0/src/draw/sw/
Dlv_draw_sw_arc.c29 uint16_t start_quarter; member
151 q_dsc.start_quarter = (start_angle / 90) & 0x3; in lv_draw_sw_arc()
235 if(q->start_quarter == 0 && q->end_quarter == 0 && q->start_angle < q->end_angle) { in draw_quarter_0()
249 else if(q->start_quarter == 0 || q->end_quarter == 0) { in draw_quarter_0()
251 if(q->start_quarter == 0) { in draw_quarter_0()
278 …else if((q->start_quarter == q->end_quarter && q->start_quarter != 0 && q->end_angle < q->start_an… in draw_quarter_0()
279 (q->start_quarter == 2 && q->end_quarter == 1) || in draw_quarter_0()
280 (q->start_quarter == 3 && q->end_quarter == 2) || in draw_quarter_0()
281 (q->start_quarter == 3 && q->end_quarter == 1)) { in draw_quarter_0()
302 if(q->start_quarter == 1 && q->end_quarter == 1 && q->start_angle < q->end_angle) { in draw_quarter_1()
[all …]