Lines Matching refs:x
652 lv_draw_arc(center.x, center.y, arc_r, ext->bg_angle_start + ext->rotation_angle, in lv_arc_design()
669 lv_draw_arc(center.x, center.y, indic_r, ext->arc_angle_start + ext->rotation_angle, in lv_arc_design()
737 p.x -= center.x; in lv_arc_signal()
745 if(p.x * p.x + p.y * p.y > r * r) { in lv_arc_signal()
761 angle = 360 - _lv_atan2(p.x, p.y) + 90; /*Some transformation is required*/ in lv_arc_signal()
894 lv_coord_t x = arc->coords.x1 + rout + left; in inv_arc_area() local
922 … inv_area.x2 = x + ((_lv_trigo_sin(start_angle + 90) * 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()
931 … inv_area.x2 = x + ((_lv_trigo_sin(start_angle + 90) * 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()
939 … inv_area.x1 = x + ((_lv_trigo_sin(start_angle + 90) * 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()
949 … inv_area.x1 = x + ((_lv_trigo_sin(start_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()
960 inv_area.x1 = x + ((_lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in inv_arc_area()
963 inv_area.x2 = x + ((_lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in inv_arc_area()
968 inv_area.x1 = x - rout - extra_area; in inv_arc_area()
970 inv_area.x2 = x + ((LV_MATH_MAX(_lv_trigo_sin(start_angle + 90), in inv_arc_area()
976 inv_area.x1 = x + ((_lv_trigo_sin(start_angle + 90) * rout) >> 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()
984 inv_area.x1 = x + ((LV_MATH_MIN(_lv_trigo_sin(end_angle + 90), in inv_arc_area()
987 inv_area.x2 = x + rout + extra_area; in inv_arc_area()
1008 center->x = arc->coords.x1 + r + left_bg; in get_center()
1044 knob_area->x1 = center->x + knob_x - left_knob - indic_width_half; in get_knob_area()
1045 knob_area->x2 = center->x + knob_x + right_knob + indic_width_half; in get_knob_area()