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

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

#include <X/mit-copyright.h>

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

#include "XlibInternal.h"
XQueryBrushShape (width, height, rwidth, rheight)
    	int width, height, *rwidth, *rheight;
{
	register Display *dpy;
	register XReq *req;
	XRep rep;

	GetReq(X_QueryShape, 0);
	req->func = BrushShape;
	req->param.s[0] = height;
	req->param.s[1] = width;
	_XReply (dpy, &rep);
	*rheight = rep.param.s[0];
	*rwidth = rep.param.s[1];
}