Lines Matching refs:tp_col
954 x = state->tg_origin.tp_col + p->tp_col * width; in gfx_fb_printchar()
971 idx = p->tp_col + p->tp_row * state->tg_tp.tp_col; in gfx_fb_putchar()
972 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_putchar()
1013 row = &screen_buffer[p.tp_row * state->tg_tp.tp_col]; in gfx_fb_fill()
1014 for (p.tp_col = r->tr_begin.tp_col; in gfx_fb_fill()
1015 p.tp_col < r->tr_end.tp_col; p.tp_col++) { in gfx_fb_fill()
1016 row[p.tp_col].c = c; in gfx_fb_fill()
1017 row[p.tp_col].a = *a; in gfx_fb_fill()
1039 if (p.tp_col >= state->tg_tp.tp_col) in gfx_fb_cursor_draw()
1040 p.tp_col = state->tg_tp.tp_col - 1; in gfx_fb_cursor_draw()
1043 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in gfx_fb_cursor_draw()
1044 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_cursor_draw()
1129 sx = s->tr_begin.tp_col * width; in gfx_fb_copy_area()
1131 dx = d->tp_col * width; in gfx_fb_copy_area()
1134 width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1); in gfx_fb_copy_area()
1141 sx + state->tg_origin.tp_col, in gfx_fb_copy_area()
1143 dx + state->tg_origin.tp_col, in gfx_fb_copy_area()
1173 0, 0, dx + state->tg_origin.tp_col, in gfx_fb_copy_area()
1190 soffset = s->tp_col + s->tp_row * state->tg_tp.tp_col; in gfx_fb_copy_line()
1191 doffset = d->tp_col + d->tp_row * state->tg_tp.tp_col; in gfx_fb_copy_line()
1204 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1208 sr.tr_begin.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1210 sr.tr_end.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1212 dp.tp_col = d->tp_col + x; in gfx_fb_copy_line()
1236 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy()
1239 p->tp_col + ncol > state->tg_tp.tp_col) in gfx_fb_copy()
1242 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in gfx_fb_copy()
1243 doffset = p->tp_col + p->tp_row * state->tg_tp.tp_col; in gfx_fb_copy()
1377 x - gfx_state.tg_origin.tp_col); in gfx_fb_cons_display()
1654 r.tr_begin.tp_col = ux1; in gfx_term_drawrect()
1656 r.tr_end.tp_col = ux2 + 1; in gfx_term_drawrect()
1664 x1 = (ux1 + 1) * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1666 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1675 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift; in gfx_term_drawrect()
1680 x1 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1685 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift; in gfx_term_drawrect()
1689 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1696 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1700 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift; in gfx_term_drawrect()
1706 x1 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1708 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1716 x1 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1719 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col; in gfx_term_drawrect()
1816 ux2 = gfx_state.tg_fb.fb_width - gfx_state.tg_origin.tp_col; in gfx_fb_putimage()
1845 rect.tr_begin.tp_col = ux1 / gfx_state.tg_font.vf_width; in gfx_fb_putimage()
1847 rect.tr_end.tp_col = (ux1 + fwidth) / gfx_state.tg_font.vf_width; in gfx_fb_putimage()
2204 font_data = set_font(&tp->tp_row, &tp->tp_col, height, width); in setup_font()