Lines Matching refs:x
57 void lv_draw_arc_get_area(lv_coord_t x, lv_coord_t y, uint16_t radius, uint16_t start_angle, uint1… in lv_draw_arc_get_area() argument
64 area->x1 = x - rout; in lv_draw_arc_get_area()
66 area->x2 = x + rout; in lv_draw_arc_get_area()
86 area->x2 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
89 area->x1 = x + ((lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
93 area->x2 = x + ((lv_trigo_sin(start_angle + 90) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
96 area->x1 = x + ((lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
99 area->x1 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
103 area->x2 = x + ((lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
106 area->x1 = x + ((lv_trigo_sin(start_angle + 90) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
109 area->x2 = x + ((lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
114 area->x1 = x + ((lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
117 area->x2 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
121 area->x1 = x - rout - extra_area; in lv_draw_arc_get_area()
123 area->x2 = x + ((LV_MAX(lv_trigo_sin(start_angle + 90), in lv_draw_arc_get_area()
128 area->x1 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
130 area->x2 = x + ((lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
135 area->x1 = x + ((LV_MIN(lv_trigo_sin(end_angle + 90), in lv_draw_arc_get_area()
138 area->x2 = x + rout + extra_area; in lv_draw_arc_get_area()
143 area->x1 = x - rout; in lv_draw_arc_get_area()
145 area->x2 = x + rout; in lv_draw_arc_get_area()