Lines Matching refs:screen
205 red = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DRed); in initialize()
206 bordercol = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xCCCCCCCC); in initialize()
207 cursback = allocimage(display, Rect(0, 0, CW+1, NS+1), screen->chan, 0, DNofill); in initialize()
210 colors[i] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, in initialize()
212 hicolors[i] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, in initialize()
232 draw(screen, r, bgcolor, nil, ZP); in clear()
254 draw(screen, Rpt(pt(x, y), addpt(pt(x, y), Pt(CW,NS))), in cursoff()
268 draw(cursback, cursback->r, screen, nil, pt(x, y)); in curson()
273 border(screen, Rpt(pt(x, y), addpt(pt(x, y), Pt(CW,NS))), 2, col, ZP); in curson()
557 putenvint("XPIXELS", Dx(screen->r)-2*XMARGIN); in exportsize()
558 putenvint("YPIXELS", Dy(screen->r)-2*XMARGIN); in exportsize()
571 xmax = (Dx(screen->r)-2*XMARGIN)/CW-1; in resize()
572 ymax = (Dy(screen->r)-2*YMARGIN)/NS-1; in resize()
581 clear(screen->r); in resize()
597 r.min = screen->r.min; in setdim()
598 r.max = addpt(screen->r.min, in setdim()
604 border(screen, r, INSET, bordercol, ZP); in setdim()
711 return addpt(screen->r.min, Pt(x*CW+XMARGIN,y*NS+YMARGIN)); in pt()
717 draw(screen, Rpt(pt(0, dy), pt(xmax+1, dy+ly-sy)), screen, nil, pt(0, sy)); in scroll()
734 draw(screen, Rpt(pt(0, 0), pt(xmax+1, ymax+1)), screen, nil, pt(0, half)); in bigscroll()
873 draw(screen, Rpt(p, addpt(p, stringsize(font, str))), bg, nil, p); in drawstring()
874 string(screen, p, txt, ZP, font, str); in drawstring()