Lines Matching refs:point1
27 … const lv_point_t * point1, const lv_point_t * point2);
29 … const lv_point_t * point1, const lv_point_t * point2);
31 … const lv_point_t * point1, const lv_point_t * point2);
53 const lv_point_t * point1, const lv_point_t * point2) in lv_draw_sw_line() argument
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()
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()
73 else if(point1->x == point2->x) draw_line_ver(draw_ctx, dsc, point1, point2); in lv_draw_sw_line()
74 else draw_line_skew(draw_ctx, dsc, point1, point2); in lv_draw_sw_line()
88 cir_area.x1 = point1->x - r; in lv_draw_sw_line()
89 cir_area.y1 = point1->y - r; in lv_draw_sw_line()
90 cir_area.x2 = point1->x + r - r_corr; in lv_draw_sw_line()
91 cir_area.y2 = point1->y + r - r_corr ; in lv_draw_sw_line()
112 … const lv_point_t * point1, const lv_point_t * point2) in draw_line_hor() argument
119 blend_area.x1 = LV_MIN(point1->x, point2->x); in draw_line_hor()
120 blend_area.x2 = LV_MAX(point1->x, point2->x) - 1; in draw_line_hor()
121 blend_area.y1 = point1->y - w_half1; in draw_line_hor()
122 blend_area.y2 = point1->y + w_half0; in draw_line_hor()
198 … const lv_point_t * point1, const lv_point_t * point2) in draw_line_ver() argument
205 blend_area.x1 = point1->x - w_half1; in draw_line_ver()
206 blend_area.x2 = point1->x + w_half0; in draw_line_ver()
207 blend_area.y1 = LV_MIN(point1->y, point2->y); in draw_line_ver()
208 blend_area.y2 = LV_MAX(point1->y, point2->y) - 1; in draw_line_ver()
278 … const lv_point_t * point1, const lv_point_t * point2) in draw_line_skew() argument
284 if(point1->y < point2->y) { in draw_line_skew()
285 p1.y = point1->y; in draw_line_skew()
287 p1.x = point1->x; in draw_line_skew()
292 p2.y = point1->y; in draw_line_skew()
294 p2.x = point1->x; in draw_line_skew()
435 LV_UNUSED(point1); in draw_line_skew()