Annotation of 43BSDTahoe/new/X/Xlib/XPixmapGetZ.c, revision 1.1

1.1     ! root        1: #include <X/mit-copyright.h>
        !             2: 
        !             3: /* $Header: XPixmapGetZ.c,v 10.5 86/04/22 15:20:08 jg Rel $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1985  */
        !             5: 
        !             6: #include "XlibInternal.h"
        !             7: Status XPixmapGetZ (w, x, y, width, height, data)
        !             8:     Window w;
        !             9:     int x, y, width, height;
        !            10:     caddr_t data;
        !            11: {
        !            12:     register Display *dpy;
        !            13:     register XReq *req;
        !            14:     XRep rep;
        !            15: 
        !            16:     GetReq (X_PixmapGet, w);
        !            17:     req->func = ZFormat;
        !            18:     req->params0 = height;
        !            19:     req->params1 = width;
        !            20:     req->params2 = x;
        !            21:     req->params3 = y;
        !            22:     if (!_XReply (dpy, &rep))
        !            23:        return(0);
        !            24:     if (dpy->dplanes > 8)
        !            25:        _XReadPad (dpy, data, WZPixmapSize (width, height));
        !            26:     else 
        !            27:        _XReadPad (dpy, data, BZPixmapSize (width, height));
        !            28:     return (1);
        !            29: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.