1: #include <X/mit-copyright.h>
2:
3: /* $Header: XDraw.c,v 10.5 86/02/01 15:32:19 tony 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->param.s[0] = vcount;
22: req->param.u[1] = pixel;
23: req->param.b[4] = height;
24: req->param.b[5] = width;
25: req->param.s[3] = DrawSolidLine;
26: nbytes = vcount*sizeof(Vertex);
27: Data(dpy, (char *) vlist, nbytes);
28: }
Defined functions
XDraw
defined in line
7; used 27 times
- in /usr/src/new/X/Xlib/XCreate.c line
190,
206,
276
- in /usr/src/new/X/Xlib/XCreateTerm.c line
194,
221,
281
- in /usr/src/new/X/bitmap/bitmap.c line
1715,
1779
- in /usr/src/new/X/libnest/nest.c line
509
- in /usr/src/new/X/uwm/Menu.c line
144,
369
- in /usr/src/new/X/uwm/uwm.h line
88-89(2)
- in /usr/src/new/X/xclock/xclock.c line
700
- in /usr/src/new/X/xgedit/gx.c line
476
- in /usr/src/new/X/xnwm/wmsubs.c line
863
- in /usr/src/new/X/xterm/Tplot.c line
709
- in /usr/src/new/X/xwm/Change.c line
129,
135,
272,
278
- in /usr/src/new/X/xwm/LowerIconify.c line
319,
325
- in /usr/src/new/X/xwm/Move.c line
143,
149,
282,
288