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