1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XText.c,v 10.4 86/02/01 15:40:41 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: XText (w, x, y, str, len, font, foreground, background)
   8:     Window w;
   9:     int x, y, len;
  10:     char *str;
  11:     Font font;
  12:     int foreground, background;
  13: {
  14:     register Display *dpy;
  15:     register XReq *req;
  16: 
  17:     GetReq(X_Text, w);
  18:     req->func = GXcopy;
  19:     req->mask = ~0;  /* all planes */
  20:     req->param.s[0] = x;
  21:     req->param.s[1] = y;
  22:     req->param.l[1] = font;
  23:     req->param.u[4] = foreground;
  24:     req->param.u[5] = background;
  25:     req->param.s[6] = len;
  26:     req->param.b[14] = 0;  /* no char pad */
  27:     req->param.b[15] = 0;  /* no space pad */
  28:     Data(dpy, str, len);
  29: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 905
Valid CSS Valid XHTML 1.0 Strict