1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XStorePixXY.c,v 10.5 86/02/01 15:40:23 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: Pixmap XStorePixmapXY (width, height, data)
   8:     int width, height;
   9:     short *data;
  10: {
  11:         register Display *dpy;
  12:     register XReq *req;
  13:     XRep rep;
  14:     int len;
  15: 
  16:     GetReq(X_StorePixmap, 0);
  17:     req->func = XYFormat;
  18:     req->param.s[0] = height;
  19:     req->param.s[1] = width;
  20:     len = XYPixmapSize (width, height, dpy->dplanes);
  21:     Data(dpy, (char *)data, len);
  22:     if (!_XReply(dpy, &rep))
  23:         return(NULL);
  24:     return (rep.param.l[0]);
  25: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 696
Valid CSS Valid XHTML 1.0 Strict