1: #include <X/mit-copyright.h> 2: 3: /* $Header: XPixmapPut.c,v 10.5 86/02/01 15:38:25 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XPixmapPut (w, source_x, source_y, dest_x, dest_y, 8: width, height, pixmap, func, planes) 9: Window w; 10: int source_x, source_y, dest_x, dest_y, width, height; 11: Pixmap pixmap; 12: int func, planes; 13: { 14: register Display *dpy; 15: register XReq *req; 16: 17: GetReq(X_PixmapPut, w); 18: req->mask = planes; 19: req->func = func; 20: req->param.s[0] = height; 21: req->param.s[1] = width; 22: req->param.s[2] = source_x; 23: req->param.s[3] = source_y; 24: req->param.l[2] = pixmap; 25: req->param.s[6] = dest_x; 26: req->param.s[7] = dest_y; 27: return; 28: }