|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XTextMask.c,v 10.5 86/04/22 15:32:09 jg Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XTextMask (w, x, y, str, len, font, source) ! 8: Window w; ! 9: int x, y, len; ! 10: char *str; ! 11: Font font; ! 12: int source; ! 13: { ! 14: register Display *dpy; ! 15: register XReq *req; ! 16: ! 17: GetReq(X_TextMask, w); ! 18: req->func = GXcopy; ! 19: req->mask = ~0; /* all planes */ ! 20: req->params0 = x; ! 21: req->params1 = y; ! 22: req->param.l[1] = font; ! 23: req->paramu4 = source; ! 24: req->params6 = len; ! 25: req->param.b[14] = 0; /* no character pad */ ! 26: req->param.b[15] = 0; /* no space pad */ ! 27: Data(dpy, str, len); ! 28: } ! 29:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.