#include <X/mit-copyright.h>

/* $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/X/Xlib/XDrawTiled.c,v 1.1.1.1 2018/04/24 16:12:54 root Exp $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
XDrawTiled (w, vlist, vcount, tile, func, planes)
	Window w;
	int func;
	int planes, vcount;
	Pixmap tile;
	Vertex *vlist;
{
	register Display *dpy;
	register XReq *req;
	int nbytes;

	GetReq(X_DrawFilled, w);
	dpy->lastdraw = (caddr_t) req;
	req->func = func;
	req->mask = planes;
	req->param.s[0] = vcount;
	req->param.l[1] = tile;
	nbytes = vcount*sizeof(Vertex);
	Data(dpy, (char *) vlist, nbytes);
}

