|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ T X ┃
Length: 912 (0x390) Types: TextFile Names: »XDrawDashed.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« └─⟦2109abc41⟧ └─ ⟦this⟧ »./X.V10R4/Xlib/XDrawDashed.c«
#include <X/mit-copyright.h> /* $Header: XDrawDashed.c,v 10.7 86/11/06 17:47:14 jg Rel $ */ /* Copyright Massachusetts Institute of Technology 1985 */ #include "XlibInternal.h" XDrawDashed (w, vlist, vcount, width, height, pixel, pattern, func, planes) Window w; int func; int pixel, planes, height, width, vcount; Pattern pattern; 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 = DrawDashedLine; req->params5 = pattern & 0xffff; /* pattern string */ req->params6 = ((pattern & 0xf0000) >> 16) + 1; /* pattern length */ req->params7 = (pattern & 0xfff00000) >> 20; /* pattern multiplier */ nbytes = vcount*psizeof(Vertex); PackData(dpy, vlist, nbytes); }