1XTextWidth(3)                   XLIB FUNCTIONS                   XTextWidth(3)
2
3
4

NAME

6       XTextWidth, XTextWidth16 - compute text width
7

SYNTAX

9       int  XTextWidth(XFontStruct  *font_struct,  _Xconst  char  *string, int
10              count);
11
12       int XTextWidth16(XFontStruct *font_struct, _Xconst XChar2b *string, int
13              count);
14

ARGUMENTS

16       count     Specifies the character count in the specified string.
17
18       font_struct
19                 Specifies the font used for the width computation.
20
21       string    Specifies the character string.
22

DESCRIPTION

24       The XTextWidth and XTextWidth16 functions return the width of the spec‐
25       ified 8-bit or 2-byte character strings.
26

SEE ALSO

28       XLoadFont(3), XTextExtents(3)
29       Xlib - C Language X Interface
30
31
32
33X Version 11                     libX11 1.6.12                   XTextWidth(3)
Impressum