Annotation of 43BSDTahoe/new/X/Xlib/XBitmapBitPut.c, revision 1.1.1.1

1.1       root        1: #include <X/mit-copyright.h>
                      2: 
                      3: /* $Header: XBitmapBitPut.c,v 10.6 86/04/22 15:28:18 jg 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->params0 = height;
                     25:        req->params1 = width;
                     26:        req->params2 = x;
                     27:        req->params3 = y;
                     28:        req->paramu4 = foreground;
                     29:        req->paramu5 = background;
                     30:        req->param.l[3] = mask;
                     31:        len = BitmapSize (width, height)/UBPS;
                     32:        PackData (dpy, 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.