|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XDraw.c,v 10.6 86/04/22 15:27:13 jg Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: XDraw (w, vlist, vcount, width, height, pixel, func, planes)
8: Window w;
9: int func;
10: int pixel, planes, height, width, vcount;
11: Vertex *vlist;
12: {
13: register Display *dpy;
14: register XReq *req;
15: int nbytes;
16:
17: GetReq(X_Draw, w);
18: dpy->lastdraw = (caddr_t)req;
19: req->func = func;
20: req->mask = planes;
21: req->params0 = vcount;
22: req->paramu1 = pixel;
23: req->param.b[4] = height;
24: req->param.b[5] = width;
25: req->params3 = DrawSolidLine;
26: nbytes = vcount*psizeof(Vertex);
27: PackData(dpy, vlist, nbytes);
28: }
29:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.