|
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: 521 (0x209) Types: TextFile Names: »XQueryWidth.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« └─⟦2109abc41⟧ └─ ⟦this⟧ »./X.V10R4/Xlib/XQueryWidth.c«
#include <X/mit-copyright.h> /* $Header: XQueryWidth.c,v 10.6 86/04/22 15:26:52 jg Rel $ */ /* Copyright Massachusetts Institute of Technology 1985 */ #include "XlibInternal.h" int XQueryWidth (str, font) char *str; Font font; { register Display *dpy; register XReq *req; XRep rep; int len; if (str == NULL) return(0); len = strlen (str); GetReq(X_StringWidth, 0); req->param.l[0] = font; req->params2 = len; Data (dpy, str, len); if (!_XReply(dpy, &rep)) return(0); return(rep.params0); }