Lines Matching refs:y

58     if(point1->x == point2->x && point1->y == point2->y) return;  in lv_draw_sw_line()
63 clip_line.y1 = LV_MIN(point1->y, point2->y) - dsc->width / 2; in lv_draw_sw_line()
64 clip_line.y2 = LV_MAX(point1->y, point2->y) + dsc->width / 2; in lv_draw_sw_line()
72 if(point1->y == point2->y) draw_line_hor(draw_ctx, dsc, point1, point2); in lv_draw_sw_line()
89 cir_area.y1 = point1->y - r; in lv_draw_sw_line()
91 cir_area.y2 = point1->y + r - r_corr ; in lv_draw_sw_line()
97 cir_area.y1 = point2->y - r; in lv_draw_sw_line()
99 cir_area.y2 = point2->y + r - r_corr ; in lv_draw_sw_line()
122 blend_area.y1 = point1->y - w_half1; in draw_line_hor()
123 blend_area.y2 = point1->y + w_half0; in draw_line_hor()
208 blend_area.y1 = LV_MIN(point1->y, point2->y); in draw_line_ver()
209 blend_area.y2 = LV_MAX(point1->y, point2->y) - 1; in draw_line_ver()
285 if(point1->y < point2->y) { in draw_line_skew()
286 p1.y = point1->y; in draw_line_skew()
287 p2.y = point2->y; in draw_line_skew()
292 p1.y = point2->y; in draw_line_skew()
293 p2.y = point1->y; in draw_line_skew()
299 int32_t ydiff = p2.y - p1.y; in draw_line_skew()
322 blend_area.y1 = LV_MIN(p1.y, p2.y) - w; in draw_line_skew()
323 blend_area.y2 = LV_MAX(p1.y, p2.y) + 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()