Lines Matching refs:tr_begin
601 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) {
603 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize,
604 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize,
608 width = r->tr_end.tp_col - r->tr_begin.tp_col;
610 for (row = r->tr_begin.tp_row; row < r->tr_end.tp_row; row++) {
611 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row *
612 scp->xsize + r->tr_begin.tp_col,
619 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col);
639 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize &&
640 r->tr_begin.tp_row == p->tp_row + 1) {
645 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) {
647 sc_vtb_move(&scp->vtb, r->tr_begin.tp_row * scp->xsize,
649 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize);
652 width = r->tr_end.tp_col - r->tr_begin.tp_col;
654 if (p->tp_row < r->tr_begin.tp_row) {
656 src = r->tr_begin.tp_row * scp->xsize +
657 r->tr_begin.tp_col;
671 r->tr_begin.tp_col;
672 end = r->tr_begin.tp_row * scp->xsize +
673 r->tr_begin.tp_col;
675 r->tr_begin.tp_row - 1) * scp->xsize + p->tp_col;
690 (p->tp_row + r->tr_end.tp_row - r->tr_begin.tp_row - 1) *
692 (p->tp_col + r->tr_end.tp_col - r->tr_begin.tp_col - 1));