1: #include <X/mit-copyright.h> 2: 3: /* $Header: XCopyArea.c,v 10.4 86/02/01 15:30:49 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XCopyArea (w, srcX, srcY, dstX, dstY, width, height, func, planes) 8: Window w; 9: int func; 10: int srcX, srcY, dstX, dstY, width, height; 11: int planes; 12: { 13: register Display *dpy; 14: register XReq *req; 15: 16: GetReq(X_CopyArea, w); 17: req->func = func; 18: req->mask = planes; 19: req->param.s[0] = height; 20: req->param.s[1] = width; 21: req->param.s[2] = srcX; 22: req->param.s[3] = srcY; 23: req->param.s[6] = dstX; 24: req->param.s[7] = dstY; 25: }