xref: /386bsd/usr/X386/man/man3/XmbTextEscapement.3x (revision a2142627)
.\\$1D \\$2 \\$1
.ps \\n(PS
.if \\n(VS>=40 .vs \\n(VSu
.if \\n(VS<=39 .vs \\n(VSp
..

0 .nr BD 0

..

.KS .TA .5i 3i

..
.KE

.. .. .KS

.D

choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...

.. .R .. .. .. .TB

\\*(NO .R .. . \" Note End -- doug kraft 3/85

0 .. .ny0

XmbTextEscapement 3X11 "Release 5" "X Version 11" "XLIB FUNCTIONS"
NAME
XmbTextEscapement, XwcTextEscapement - obtain the escapement of text
SYNTAX
int XmbTextEscapement\^(\^font_set\^, string\^, num_bytes\^)

XFontSet font_set\^;

char *string\^;

int num_bytes\^;

int XwcTextEscapement\^(\^font_set\^, string\^, num_wchars\^)

XFontSet font_set\^;

wchar_t *string\^;

int num_wchars\^;

ARGUMENTS
$Header: fontset.a,v 1.2 88/05/09 14:28:06 mento Exp $
font_set 1i
Specifies the font set.
num_bytes 1i
Specifies the number of bytes in the string argument.
num_wchars 1i
Specifies the number of characters in the string argument. $Header: string.a,v 1.1 88/02/26 10:31:32 mento Exp $
string 1i
Specifies the character string.
DESCRIPTION
The .ZN XmbTextEscapement and .ZN 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) \*(xL