1: #include <X/mit-copyright.h> 2: 3: /* $Header: XTextMaskPad.c,v 10.4 86/02/01 15:40:50 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XTextMaskPad (w, x, y, str, len, font, 8: charpad, spacepad, source, func, planes) 9: Window w; 10: int x, y, len; 11: char *str; 12: Font font; 13: int source; 14: int func, planes, charpad, spacepad; 15: { 16: register Display *dpy; 17: register XReq *req; 18: 19: GetReq(X_TextMask, w); 20: req->func = func; 21: req->mask = planes; 22: req->param.s[0] = x; 23: req->param.s[1] = y; 24: req->param.l[1] = font; 25: req->param.u[4] = source; 26: req->param.s[6] = len; 27: req->param.b[14] = charpad; 28: req->param.b[15] = spacepad; 29: Data(dpy, str, len); 30: }