|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XPixBitsPutXY.c,v 10.5 86/02/01 15:37:55 tony Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XPixmapBitsPutXY (w, x, y, width, height, data, mask, func, planes) ! 8: Window w; ! 9: int x, y, width, height; ! 10: short *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->param.s[0] = height; ! 23: req->param.s[1] = width; ! 24: req->param.s[2] = x; ! 25: req->param.s[3] = y; ! 26: req->param.s[4] = XYFormat; ! 27: req->param.l[3] = mask; ! 28: len = XYPixmapSize (width, height, dpy->dplanes); ! 29: Data(dpy, (caddr_t)data, len); ! 30: } ! 31:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.