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

NAME

6       XTextWidth, XTextWidth16 - compute text width
7

SYNTAX

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

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

26       XLoadFont(3), XTextExtents(3)
27       Xlib - C Language X Interface
28
29
30
31X Version 11                     libX11 1.6.7                    XTextWidth(3)
Impressum