|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XCopyPlane.c,v 11.7 87/09/11 08:02:23 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XCopyPlane(dpy, src_drawable, dst_drawable, gc, ! 9: src_x, src_y, width, height, ! 10: dst_x, dst_y, bit_plane) ! 11: register Display *dpy; ! 12: Drawable src_drawable, dst_drawable; ! 13: GC gc; ! 14: int src_x, src_y; ! 15: unsigned int width, height; ! 16: int dst_x, dst_y; ! 17: unsigned long bit_plane; ! 18: ! 19: { ! 20: register xCopyPlaneReq *req; ! 21: ! 22: LockDisplay(dpy); ! 23: FlushGC(dpy, gc); ! 24: GetReq(CopyPlane, req); ! 25: req->srcDrawable = src_drawable; ! 26: req->dstDrawable = dst_drawable; ! 27: req->gc = gc->gid; ! 28: req->srcX = src_x; ! 29: req->srcY = src_y; ! 30: req->dstX = dst_x; ! 31: req->dstY = dst_y; ! 32: req->width = width; ! 33: req->height = height; ! 34: req->bitPlane = bit_plane; ! 35: UnlockDisplay(dpy); ! 36: SyncHandle(); ! 37: } ! 38:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.