Lines Matching refs:end_angle
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()
942 inv_area.y1 = y + ((_lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area()
943 … inv_area.x2 = x + ((_lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
952 … inv_area.x2 = x + ((_lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
953 inv_area.y2 = y + ((_lv_trigo_sin(end_angle) * rin) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
960 inv_area.x1 = x + ((_lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area()
961 inv_area.y1 = y + ((LV_MATH_MIN(_lv_trigo_sin(end_angle), in inv_arc_area()
969 inv_area.y1 = y + ((_lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area()
971 … _lv_trigo_sin(end_angle + 90)) * rin) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
978 inv_area.x2 = x + ((_lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
979 inv_area.y2 = y + (LV_MATH_MAX(_lv_trigo_sin(end_angle) * rin, in inv_arc_area()
984 inv_area.x1 = x + ((LV_MATH_MIN(_lv_trigo_sin(end_angle + 90), in inv_arc_area()
988 inv_area.y2 = y + ((_lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()