File:  [CSRG BSD Unix] / 43BSD / contrib / X / Xlib / XTextMask.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#include <X/mit-copyright.h>

/* $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/X/Xlib/XTextMask.c,v 1.1.1.1 2018/04/24 16:12:54 root Exp $ */
/* 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);
}


unix.superglobalmegacorp.com

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