Lines Matching refs:p2
283 lv_point_t p2; in draw_line_skew() local
286 p2.y = point2->y; in draw_line_skew()
288 p2.x = point2->x; in draw_line_skew()
292 p2.y = point1->y; in draw_line_skew()
294 p2.x = point1->x; in draw_line_skew()
297 int32_t xdiff = p2.x - p1.x; in draw_line_skew()
298 int32_t ydiff = p2.y - p1.y; in draw_line_skew()
319 blend_area.x1 = LV_MIN(p1.x, p2.x) - w; in draw_line_skew()
320 blend_area.x2 = LV_MAX(p1.x, p2.x) + w; in draw_line_skew()
321 blend_area.y1 = LV_MIN(p1.y, p2.y) - w; in draw_line_skew()
322 blend_area.y2 = LV_MAX(p1.y, p2.y) + w; in draw_line_skew()
337 … 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()
339 … 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()
343 … 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()
345 … 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()
350 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()
352 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_bottom_param, p2.x, p2.y, p2.x - ydiff, p2.y + xdiff, LV_DRAW… in draw_line_skew()