Lines Matching refs:x

70     if(point1->x == point2->x && point1->y == point2->y) return;  in lv_draw_line()
73 clip_line.x1 = LV_MATH_MIN(point1->x, point2->x) - dsc->width / 2; in lv_draw_line()
74 clip_line.x2 = LV_MATH_MAX(point1->x, point2->x) + dsc->width / 2; in lv_draw_line()
83 else if(point1->x == point2->x) draw_line_ver(point1, point2, &clip_line, dsc); in lv_draw_line()
99 cir_area.x1 = point1->x - r; in lv_draw_line()
101 cir_area.x2 = point1->x + r - r_corr; in lv_draw_line()
107 cir_area.x1 = point2->x - r; in lv_draw_line()
109 cir_area.x2 = point2->x + r - r_corr; in lv_draw_line()
142 draw_area.x1 = LV_MATH_MIN(point1->x, point2->x); in draw_line_hor()
143 draw_area.x2 = LV_MATH_MAX(point1->x, point2->x) - 1; in draw_line_hor()
243 draw_area.x1 = point1->x - w_half1; in draw_line_ver()
244 draw_area.x2 = point1->x + w_half0; in draw_line_ver()
326 p1.x = point1->x; in draw_line_skew()
327 p2.x = point2->x; in draw_line_skew()
332 p1.x = point2->x; in draw_line_skew()
333 p2.x = point1->x; in draw_line_skew()
336 int32_t xdiff = p2.x - p1.x; in draw_line_skew()
358 draw_area.x1 = LV_MATH_MIN(p1.x, p2.x) - w; in draw_line_skew()
359 draw_area.x2 = LV_MATH_MAX(p1.x, p2.x) + w; in draw_line_skew()
376 … 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()
378 … 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()
382 … 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()
384 … 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()
389 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()
391 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()
403 …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()
404 …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()
436 int32_t x = vdb->area.x1 + draw_area.x1; in draw_line_skew() local
444 lv_draw_mask_res_t mask_res = lv_draw_mask_apply(&mask_buf[mask_p], x, h, draw_area_w); in draw_line_skew()