1: #include <X/mit-copyright.h> 2: 3: /* $Header: XQueryBrush.c,v 10.4 86/02/01 15:38:40 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XQueryBrushShape (width, height, rwidth, rheight) 8: int width, height, *rwidth, *rheight; 9: { 10: register Display *dpy; 11: register XReq *req; 12: XRep rep; 13: 14: GetReq(X_QueryShape, 0); 15: req->func = BrushShape; 16: req->param.s[0] = height; 17: req->param.s[1] = width; 18: _XReply (dpy, &rep); 19: *rheight = rep.param.s[0]; 20: *rwidth = rep.param.s[1]; 21: }