DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T X

⟦c4fefb194⟧ TextFile

    Length: 672 (0x2a0)
    Types: TextFile
    Names: »XDraw.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/Xlib/XDraw.c« 

TextFile

#include <X/mit-copyright.h>

/* $Header: XDraw.c,v 10.6 86/04/22 15:27:13 jg Rel $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
XDraw (w, vlist, vcount, width, height, pixel, func, planes)
	Window w;
	int func;
	int pixel, planes, height, width, vcount;
	Vertex *vlist;
{
	register Display *dpy;
	register XReq *req;
	int nbytes;

	GetReq(X_Draw, w);
	dpy->lastdraw = (caddr_t)req;
	req->func = func;
	req->mask = planes;
	req->params0 = vcount;
	req->paramu1 = pixel;
	req->param.b[4] = height;
	req->param.b[5] = width;
	req->params3 = DrawSolidLine;
	nbytes = vcount*psizeof(Vertex);
	PackData(dpy, vlist, nbytes);
}