Lines Matching refs:tr_begin
580 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill()
582 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_fill()
583 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize, in scteken_fill()
587 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_fill()
589 for (row = r->tr_begin.tp_row; row < r->tr_end.tp_row; row++) { in scteken_fill()
590 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill()
591 scp->xsize + r->tr_begin.tp_col, in scteken_fill()
598 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col); in scteken_fill()
618 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize && in scteken_copy()
619 r->tr_begin.tp_row == p->tp_row + 1) { in scteken_copy()
624 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_copy()
626 sc_vtb_move(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_copy()
628 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize); in scteken_copy()
631 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_copy()
633 if (p->tp_row < r->tr_begin.tp_row) { in scteken_copy()
635 src = r->tr_begin.tp_row * scp->xsize + in scteken_copy()
636 r->tr_begin.tp_col; in scteken_copy()
650 r->tr_begin.tp_col; in scteken_copy()
651 end = r->tr_begin.tp_row * scp->xsize + in scteken_copy()
652 r->tr_begin.tp_col; in scteken_copy()
654 r->tr_begin.tp_row - 1) * scp->xsize + p->tp_col; in scteken_copy()
669 (p->tp_row + r->tr_end.tp_row - r->tr_begin.tp_row - 1) * in scteken_copy()
671 (p->tp_col + r->tr_end.tp_col - r->tr_begin.tp_col - 1)); in scteken_copy()