Lines Matching refs:point2

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()
96 cir_area.x1 = point2->x - r; in lv_draw_sw_line()
97 cir_area.y1 = point2->y - r; in lv_draw_sw_line()
98 cir_area.x2 = point2->x + r - r_corr; in lv_draw_sw_line()
99 cir_area.y2 = point2->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()
198 … const lv_point_t * point1, const lv_point_t * point2) in draw_line_ver() argument
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()
286 p2.y = point2->y; in draw_line_skew()
288 p2.x = point2->x; in draw_line_skew()
291 p1.y = point2->y; in draw_line_skew()
293 p1.x = point2->x; in draw_line_skew()
436 LV_UNUSED(point2); in draw_line_skew()