4.3BSD/usr/contrib/X/Xlib/XTextMask.c

Compare this file to the similar file:
Show the results in this format:

#include <X/mit-copyright.h>

/* $Header: XTextMask.c,v 10.4 86/02/01 15:40:46 tony Rel $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
XTextMask (w, x, y, str, len, font, source)
	Window w;
	int x, y, len;
	char *str;
	Font font;
	int source;
{
	register Display *dpy;
	register XReq *req;

	GetReq(X_TextMask, w);
	req->func = GXcopy;
	req->mask = ~0;  /* all planes */
	req->param.s[0] = x;
	req->param.s[1] = y;
	req->param.l[1] = font;
	req->param.u[4] = source;
	req->param.s[6] = len;
	req->param.b[14] = 0;  /* no character pad */
	req->param.b[15] = 0;  /* no space pad */
	Data(dpy, str, len);
}