1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XPixBitsPutZ.c,v 10.4 86/02/01 15:38:00 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: XPixmapBitsPutZ (w, x, y, width, height, data, mask, func, planes)
   8:     Window w;
   9:     int x, y, width, height;
  10:     caddr_t data;
  11:     Bitmap mask;
  12:     int func;
  13:     int planes;
  14: {
  15:     register Display *dpy;
  16:     register XReq *req;
  17:     int len;
  18: 
  19:     GetReq(X_PixmapBitsPut, w);
  20:     req->mask = planes;
  21:     req->func = func;
  22:     req->param.s[0] = height;
  23:     req->param.s[1] = width;
  24:     req->param.s[2] = x;
  25:     req->param.s[3] = y;
  26:     req->param.s[4] = ZFormat;
  27:     req->param.l[3] = mask;
  28:     len = (dpy->dplanes > 8)
  29:       ? WZPixmapSize (width, height)
  30:       : BZPixmapSize (width, height);
  31:     Data (dpy, data, len);
  32: }

Defined functions

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 864
Valid CSS Valid XHTML 1.0 Strict