|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XLine.c,v 10.5 86/04/22 15:30:18 jg Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: XLine (w, x1, y1, x2, y2, width, height, pixel, func, planes)
8: Window w;
9: int pixel, width, height, func, planes;
10: int x1, y1, x2, y2;
11: {
12: register Display *dpy;
13: register XReq *req;
14:
15: GetReq(X_Line, w);
16: req->func = func;
17: req->mask = planes;
18: req->params0 = x1;
19: req->params1 = y1;
20: req->params2 = x2;
21: req->params3 = y2;
22: req->paramu4 = pixel;
23: req->param.b[10] = height;
24: req->param.b[11] = width;
25: }
26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.