|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XMoveArea.c,v 10.4 86/02/01 15:37:15 tony Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XMoveArea (w, srcX, srcY, dstX, dstY, width, height) ! 8: Window w; ! 9: int srcX, srcY, dstX, dstY, width, height; ! 10: { ! 11: register Display *dpy; ! 12: register XReq *req; ! 13: ! 14: GetReq(X_CopyArea, w); ! 15: req->func = GXcopy; ! 16: req->mask = ~0; /* all planes */ ! 17: req->param.s[0] = height; ! 18: req->param.s[1] = width; ! 19: req->param.s[2] = srcX; ! 20: req->param.s[3] = srcY; ! 21: req->param.s[6] = dstX; ! 22: req->param.s[7] = dstY; ! 23: } ! 24:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.