Lines Matching refs:side
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()
319 param->cfg.side = side; in lv_draw_mask_line_points_init()
363 if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT) param->inv = 0; in lv_draw_mask_line_points_init()
364 else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT) param->inv = 1; in lv_draw_mask_line_points_init()
365 else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP) { in lv_draw_mask_line_points_init()
369 else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM) { in lv_draw_mask_line_points_init()
389 lv_draw_mask_line_side_t side) in lv_draw_mask_line_angle_init() argument
403 lv_draw_mask_line_points_init(param, p1x, py, p2x, p2y, side); in lv_draw_mask_line_angle_init()
610 if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT || in lv_draw_mask_line()
611 p->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT) return LV_DRAW_MASK_RES_FULL_COVER; in lv_draw_mask_line()
612 …else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP && abs_y + 1 < 0) return LV_DRAW_MASK_RES_FULL_C… in lv_draw_mask_line()
613 …else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM && abs_y > 0) return LV_DRAW_MASK_RES_FULL_CO… in lv_draw_mask_line()
621 if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP || in lv_draw_mask_line()
622 p->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM) return LV_DRAW_MASK_RES_FULL_COVER; in lv_draw_mask_line()
623 …else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT && abs_x > 0) return LV_DRAW_MASK_RES_FULL_COV… in lv_draw_mask_line()
624 else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT) { in lv_draw_mask_line()