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: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 847
Valid CSS Valid XHTML 1.0 Strict