XmbTextEscapement(3X11) X11 SDE 5.4R3.00 XmbTextEscapement(3X11)
NAME
XmbTextEscapement, XwcTextEscapement - obtain the escapement of text
SYNTAX
int XmbTextEscapement(fontset, string, numbytes)
XFontSet fontset;
char *string;
int numbytes;
int XwcTextEscapement(fontset, string, numwchars)
XFontSet fontset;
wchar_t *string;
int numwchars;
ARGUMENTS
fontset Specifies the font set.
numbytes Specifies the number of bytes in the string argument.
numwchars
Specifies the number of characters in the string argument.
string Specifies the character string.
DESCRIPTION
The XmbTextEscapement and XwcTextEscapement functions return the
escapement in pixels of the specified string as a value, 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.
Regardless of the character rendering order, the escapement is always
positive.
SEE ALSO
XmbTextExtents(3X11), XmbTextPerCharExtents(3X11) Xlib - C Language X
Interface
Licensed material--property of copyright holder(s) 1