XwcTextEscapement()XwcTextEscapement()NameXwcTextEscapement – obtain the width of internationalized wide-charac‐
ter text.
Synopsis
int XwcTextEscapement(font_set, string, num_wchars)
XFontSet font_set;
wchar_t *string;
int num_wchars;
Arguments
font_set Specifies the font set.
string Specifies the character string.
num_wchars
Specifies the number of characters in the string argument.
Returns
The escapement in pixels.
Availability
Release 5 and later.
DescriptionXwcTextEscapement() returns the escapement in pixels of the specified
wide-character string using the fonts loaded for the specified font
set. The escapement is the distance in pixels in the primary draw
direction from the drawing origin to the origin of the next character
to be drawn, assuming that the rendering of the next character is not
dependent on the supplied string.
The escapement is always positive, regardless of the character-render‐
ing order.
See AlsoXwcTextExtents(), XwcTextPerCharExtents(), XmbTextEscapement().
Xlib - Internationalized Text XwcTextEscapement()