Annotation of 43BSD/contrib/X/Xlib/XTextMask.c, revision 1.1.1.1

1.1       root        1: #include <X/mit-copyright.h>
                      2: 
                      3: /* $Header: XTextMask.c,v 10.4 86/02/01 15:40:46 tony 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->param.s[0] = x;
                     21:        req->param.s[1] = y;
                     22:        req->param.l[1] = font;
                     23:        req->param.u[4] = source;
                     24:        req->param.s[6] = 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: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.