Annotation of 43BSD/contrib/X/Xlib/XBitmapBitPut.c, revision 1.1

1.1     ! root        1: #include <X/mit-copyright.h>
        !             2: 
        !             3: /* $Header: XBitmapBitPut.c,v 10.5 86/02/01 15:29:40 tony Rel $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1985  */
        !             5: 
        !             6: #include "XlibInternal.h"
        !             7: XBitmapBitsPut (w, x, y, width, height, data, 
        !             8:     foreground, background, mask, func, planes)
        !             9:        Window w;
        !            10:        int x, y, width, height;
        !            11:        short *data;
        !            12:        int foreground, background;
        !            13:        Bitmap mask;
        !            14:        int func;
        !            15:        int planes;
        !            16: {
        !            17:        register Display *dpy;
        !            18:        register XReq *req;
        !            19:        int len;
        !            20: 
        !            21:        GetReq(X_BitmapBitsPut, w);
        !            22:        req->mask = planes;
        !            23:        req->func = func;
        !            24:        req->param.s[0] = height;
        !            25:        req->param.s[1] = width;
        !            26:        req->param.s[2] = x;
        !            27:        req->param.s[3] = y;
        !            28:        req->param.u[4] = foreground;
        !            29:        req->param.u[5] = background;
        !            30:        req->param.l[3] = mask;
        !            31:        len = BitmapSize (width, height);
        !            32:        Data (dpy,(char *)data, len);
        !            33: }
        !            34: 

unix.superglobalmegacorp.com

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