XTextWidth(3X11) XLIB FUNCTIONS XTextWidth(3X11)
XTextWidth, XTextWidth16 - compute text width
int XTextWidth(XFontStruct *font_struct, char *string, int
count);
int XTextWidth16(XFontStruct *font_struct, XChar2b *string,
int count);
count Specifies the character count in the specified
string.
font_struct
Specifies the font used for the width computation.
string Specifies the character string.
The XTextWidth and XTextWidth16 functions return the width
of the specified 8-bit or 2-byte character strings.
XLoadFont(3X11), XTextExtents(3X11)
Xlib - C Language X Interface
XFree86 Version 4.5.0 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.