|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XLine.c,v 10.4 86/02/01 15:36:05 tony 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->param.s[0] = x1; ! 19: req->param.s[1] = y1; ! 20: req->param.s[2] = x2; ! 21: req->param.s[3] = y2; ! 22: req->param.u[4] = 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.