Searched refs:end_angle (Results 1 – 9 of 9) sorted by relevance
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_arc.c | 28 uint16_t end_angle; member 71 …_coord_t center_x, lv_coord_t center_y, uint16_t radius, uint16_t start_angle, uint16_t end_angle, in lv_draw_arc() argument 76 if(start_angle == end_angle) return; in lv_draw_arc() 97 if(start_angle + 360 == end_angle || start_angle == end_angle + 360) { in lv_draw_arc() 103 if(end_angle >= 360) end_angle -= 360; in lv_draw_arc() 106 lv_draw_mask_angle_init(&mask_angle_param, center_x, center_y, start_angle, end_angle); in lv_draw_arc() 111 if(end_angle > start_angle) { in lv_draw_arc() 112 angle_gap = 360 - (end_angle - start_angle); in lv_draw_arc() 115 angle_gap = start_angle - end_angle; in lv_draw_arc() 124 q_dsc.end_angle = end_angle; in lv_draw_arc() [all …]
|
D | lv_draw_mask.c | 307 lv_coord_t start_angle, lv_coord_t end_angle) in lv_draw_mask_angle_init() argument 318 if(end_angle < 0) in lv_draw_mask_angle_init() 319 end_angle = 0; in lv_draw_mask_angle_init() 320 else if(end_angle > 359) in lv_draw_mask_angle_init() 321 end_angle = 359; in lv_draw_mask_angle_init() 323 if(end_angle < start_angle) { in lv_draw_mask_angle_init() 324 param->delta_deg = 360 - start_angle + end_angle; in lv_draw_mask_angle_init() 327 param->delta_deg = LV_MATH_ABS(end_angle - start_angle); in lv_draw_mask_angle_init() 331 param->cfg.end_angle = end_angle; in lv_draw_mask_angle_init() 348 if(end_angle >= 0 && end_angle < 180) { in lv_draw_mask_angle_init() [all …]
|
D | lv_draw_mask.h | 118 lv_coord_t end_angle; member 267 lv_coord_t start_angle, lv_coord_t end_angle);
|
D | lv_draw_arc.h | 41 …_coord_t center_x, lv_coord_t center_y, uint16_t radius, uint16_t start_angle, uint16_t end_angle,
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_arc.c | 34 static void inv_arc_area(lv_obj_t * arc, uint16_t start_angle, uint16_t end_angle, lv_arc_part_t pa… 873 static void inv_arc_area(lv_obj_t * arc, uint16_t start_angle, uint16_t end_angle, lv_arc_part_t pa… in inv_arc_area() argument 881 end_angle += ext->rotation_angle; in inv_arc_area() 884 if(end_angle >= 360) end_angle -= 360; in inv_arc_area() 887 uint8_t end_quarter = end_angle / 90; in inv_arc_area() 919 if(start_quarter == end_quarter && start_angle <= end_angle) { in inv_arc_area() 924 inv_area.y2 = y + ((_lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area() 925 … inv_area.x1 = x + ((_lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area() 933 inv_area.y1 = y + ((_lv_trigo_sin(end_angle) * rin) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area() 934 … inv_area.x1 = x + ((_lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area() [all …]
|
D | lv_canvas.h | 245 int32_t end_angle, const lv_draw_line_dsc_t * arc_draw_dsc);
|
D | lv_linemeter.c | 548 int16_t end_angle = ((level) * ext->scale_angle) / (ext->line_cnt - 1) + angle_ofs; in lv_linemeter_draw_scale() local 556 lv_draw_arc(x_ofs, y_ofs, r_out, angle_ofs, end_angle, clip_area, &arc_dsc); in lv_linemeter_draw_scale() 562 …lv_draw_arc(x_ofs, y_ofs, r_out, end_angle, (angle_ofs + ext->scale_angle) % 360, clip_area, &arc_… in lv_linemeter_draw_scale()
|
D | lv_objmask.c | 246 p_ori->cfg.start_angle, p_ori->cfg.end_angle); in lv_objmask_design()
|
D | lv_canvas.c | 1040 int32_t end_angle, const lv_draw_line_dsc_t * arc_draw_dsc) in lv_canvas_draw_arc() argument 1086 lv_draw_arc(x, y, r, start_angle, end_angle, &mask, arc_draw_dsc); in lv_canvas_draw_arc()
|