|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XDrawTiled.c,v 10.5 86/02/01 15:32:42 tony Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XDrawTiled (w, vlist, vcount, tile, func, planes) ! 8: Window w; ! 9: int func; ! 10: int planes, vcount; ! 11: Pixmap tile; ! 12: Vertex *vlist; ! 13: { ! 14: register Display *dpy; ! 15: register XReq *req; ! 16: int nbytes; ! 17: ! 18: GetReq(X_DrawFilled, w); ! 19: dpy->lastdraw = (caddr_t) req; ! 20: req->func = func; ! 21: req->mask = planes; ! 22: req->param.s[0] = vcount; ! 23: req->param.l[1] = tile; ! 24: nbytes = vcount*sizeof(Vertex); ! 25: Data(dpy, (char *) vlist, nbytes); ! 26: } ! 27:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.