Lines Matching refs:rc

60 	struct rcons *rc = id;
66 if ((rc->rc_bits & RC_CURSOR) == 0)
69 row = *rc->rc_crowp;
70 col = *rc->rc_ccolp;
73 *rc->rc_crowp = row;
74 *rc->rc_ccolp = col;
77 x = col * rc->rc_font->width + rc->rc_xorigin;
78 y = row * rc->rc_font->height + rc->rc_yorigin;
80 raster_op(rc->rc_sp, x, y,
83 rc->rc_font->chars[(int)' '].r->width,
84 rc->rc_font->chars[(int)' '].r->height,
86 rc->rc_font->width, rc->rc_font->height,
91 rc->rc_bits ^= RC_CURSOR;
112 struct rcons *rc = id;
116 x = col * rc->rc_font->width + rc->rc_xorigin;
117 y = row * rc->rc_font->height + rc->rc_font_ascent + rc->rc_yorigin;
120 if ((attr != 0) ^ ((rc->rc_bits & RC_INVERT) != 0))
123 raster_textn(rc->rc_sp, x, y, op, rc->rc_font, &help, 1);
132 struct rcons *rc = id;
134 if (((rc->rc_bits & RC_INVERT) != 0) ^ inverted) {
136 raster_op(rc->rc_sp, 0, 0, rc->rc_sp->width, rc->rc_sp->height,
140 rc->rc_bits ^= RC_INVERT;
150 struct rcons *rc = id;
153 y = rc->rc_yorigin + rc->rc_font->height * row;
154 srcx = rc->rc_xorigin + rc->rc_font->width * srccol;
155 dstx = rc->rc_xorigin + rc->rc_font->width * dstcol;
156 nx = rc->rc_font->width * ncols;
158 raster_op(rc->rc_sp, dstx, y,
159 nx, rc->rc_font->height, RAS_SRC,
160 rc->rc_sp, srcx, y);
169 struct rcons *rc = id;
172 y = rc->rc_yorigin + rc->rc_font->height * row;
173 startx = rc->rc_xorigin + rc->rc_font->width * startcol;
174 nx = rc->rc_font->width * ncols;
177 if ((fillattr != 0) ^ ((rc->rc_bits & RC_INVERT) != 0))
179 raster_op(rc->rc_sp, startx, y,
180 nx, rc->rc_font->height, op,
190 struct rcons *rc = id;
193 srcy = rc->rc_yorigin + rc->rc_font->height * srcrow;
194 dsty = rc->rc_yorigin + rc->rc_font->height * dstrow;
195 ny = rc->rc_font->height * nrows;
197 raster_op(rc->rc_sp, rc->rc_xorigin, dsty,
198 rc->rc_raswidth, ny, RAS_SRC,
199 rc->rc_sp, rc->rc_xorigin, srcy);
208 struct rcons *rc = id;
211 starty = rc->rc_yorigin + rc->rc_font->height * startrow;
212 ny = rc->rc_font->height * nrows;
215 if ((fillattr != 0) ^ ((rc->rc_bits & RC_INVERT) != 0))
217 raster_op(rc->rc_sp, rc->rc_xorigin, starty,
218 rc->rc_raswidth, ny, op,