Lines Matching refs:p2y
295 lv_coord_t p2y, lv_draw_mask_line_side_t side) in lv_draw_mask_line_points_init() argument
299 if(p1y == p2y && side == LV_DRAW_MASK_LINE_SIDE_BOTTOM) { in lv_draw_mask_line_points_init()
301 p2y--; in lv_draw_mask_line_points_init()
304 if(p1y > p2y) { in lv_draw_mask_line_points_init()
310 t = p2y; in lv_draw_mask_line_points_init()
311 p2y = p1y; in lv_draw_mask_line_points_init()
318 param->cfg.p2.y = p2y; in lv_draw_mask_line_points_init()
323 param->flat = (LV_ABS(p2x - p1x) > LV_ABS(p2y - p1y)) ? 1 : 0; in lv_draw_mask_line_points_init()
330 int32_t dy = p2y - p1y; in lv_draw_mask_line_points_init()
398 int32_t p2y; in lv_draw_mask_line_angle_init() local
401 p2y = (lv_trigo_sin(angle) >> 5) + py; in lv_draw_mask_line_angle_init()
403 lv_draw_mask_line_points_init(param, p1x, py, p2x, p2y, side); in lv_draw_mask_line_angle_init()