Lines Matching refs:x
58 if(point1->x == point2->x && point1->y == point2->y) return; in lv_draw_sw_line()
61 clip_line.x1 = LV_MIN(point1->x, point2->x) - dsc->width / 2; in lv_draw_sw_line()
62 clip_line.x2 = LV_MAX(point1->x, point2->x) + dsc->width / 2; in lv_draw_sw_line()
73 else if(point1->x == point2->x) draw_line_ver(draw_ctx, dsc, point1, point2); in lv_draw_sw_line()
88 cir_area.x1 = point1->x - r; in lv_draw_sw_line()
90 cir_area.x2 = point1->x + r - r_corr; in lv_draw_sw_line()
96 cir_area.x1 = point2->x - r; in lv_draw_sw_line()
98 cir_area.x2 = point2->x + r - r_corr; in lv_draw_sw_line()
120 blend_area.x1 = LV_MIN(point1->x, point2->x); in draw_line_hor()
121 blend_area.x2 = LV_MAX(point1->x, point2->x) - 1; in draw_line_hor()
206 blend_area.x1 = point1->x - w_half1; in draw_line_ver()
207 blend_area.x2 = point1->x + w_half0; in draw_line_ver()
288 p1.x = point1->x; in draw_line_skew()
289 p2.x = point2->x; in draw_line_skew()
294 p1.x = point2->x; in draw_line_skew()
295 p2.x = point1->x; in draw_line_skew()
298 int32_t xdiff = p2.x - p1.x; in draw_line_skew()
320 blend_area.x1 = LV_MIN(p1.x, p2.x) - w; in draw_line_skew()
321 blend_area.x2 = LV_MAX(p1.x, p2.x) + w; in draw_line_skew()
338 … lv_draw_mask_line_points_init(&mask_left_param, p1.x, p1.y - w_half0, p2.x, p2.y - w_half0, in draw_line_skew()
340 … lv_draw_mask_line_points_init(&mask_right_param, p1.x, p1.y + w_half1, p2.x, p2.y + w_half1, in draw_line_skew()
344 … lv_draw_mask_line_points_init(&mask_left_param, p1.x, p1.y + w_half1, p2.x, p2.y + w_half1, in draw_line_skew()
346 … lv_draw_mask_line_points_init(&mask_right_param, p1.x, p1.y - w_half0, p2.x, p2.y - w_half0, in draw_line_skew()
351 lv_draw_mask_line_points_init(&mask_left_param, p1.x + w_half1, p1.y, p2.x + w_half1, p2.y, in draw_line_skew()
353 lv_draw_mask_line_points_init(&mask_right_param, p1.x - w_half0, p1.y, p2.x - w_half0, p2.y, in draw_line_skew()
365 …lv_draw_mask_line_points_init(&mask_top_param, p1.x, p1.y, p1.x - ydiff, p1.y + xdiff, LV_DRAW_MAS… in draw_line_skew()
366 …lv_draw_mask_line_points_init(&mask_bottom_param, p2.x, p2.y, p2.x - ydiff, p2.y + xdiff, LV_DRAW… in draw_line_skew()