|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XPixBitsPutZ.c,v 10.5 86/04/22 15:18:02 jg Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XPixmapBitsPutZ (w, x, y, width, height, data, mask, func, planes) ! 8: Window w; ! 9: int x, y, width, height; ! 10: caddr_t data; ! 11: Bitmap mask; ! 12: int func; ! 13: int planes; ! 14: { ! 15: register Display *dpy; ! 16: register XReq *req; ! 17: int len; ! 18: ! 19: GetReq(X_PixmapBitsPut, w); ! 20: req->mask = planes; ! 21: req->func = func; ! 22: req->params0 = height; ! 23: req->params1 = width; ! 24: req->params2 = x; ! 25: req->params3 = y; ! 26: req->params4 = ZFormat; ! 27: req->param.l[3] = mask; ! 28: len = (dpy->dplanes > 8) ! 29: ? WZPixmapSize (width, height) ! 30: : BZPixmapSize (width, height); ! 31: Data (dpy, data, len); ! 32: } ! 33:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.