XTextWidth

Syntax

int XTextWidth(font_struct, string, count)
      XFontStruct *font_struct;
      char *string;
      int count;

Arguments

font_struct Specifies the font used for the width computation.
string Specifies the character string.
count Specifies the character count in the specified string.

Description

XTextWidth() determines the width of an 8-bit character string.

See also

XTextWidth16(), XLoadFont(), XTextExtents(), "Computing Character String Sizes".
Christophe Tronche, [email protected]