XTextWidth16 (3)
Leading comments
Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the foll...
NAME
XTextWidth, XTextWidth16 - compute text widthSYNTAX
- int XTextWidth(XFontStruct *font_struct, char *string, int count);
- int XTextWidth16(XFontStruct *font_struct, XChar2b *string, int count);
ARGUMENTS
- count
- Specifies the character count in the specified string.
- font_struct
- Specifies the font used for the width computation.
- string
- Specifies the character string.
DESCRIPTION
The XTextWidth and XTextWidth16 functions return the width of the specified 8-bit or 2-byte character strings.SEE ALSO
XLoadFont(3), XTextExtents(3)Xlib - C Language X Interface