1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XPixSet.c,v 10.4 86/02/01 15:38:09 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: XPixSet (w, x, y, width, height, pixel)
   8:     Window w;
   9:     int x, y;
  10:     int pixel;
  11:     int width, height;
  12: {
  13:     register Display *dpy;
  14:     register XReq *req;
  15: 
  16:     GetReq(X_PixFill, w);
  17:     req->mask = ~0;  /* all planes */
  18:     req->func = GXcopy;
  19:     req->param.s[0] = height;
  20:     req->param.s[1] = width;
  21:     req->param.s[2] = x;
  22:     req->param.s[3] = y;
  23:     req->param.s[4] = pixel;
  24:     req->param.l[3] = 0;  /* no mask bitmap */
  25: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 469
Valid CSS Valid XHTML 1.0 Strict