


XmbTextEscapement(3X11)				      XmbTextEscapement(3X11)
X11R5									X11R5



NAME
  XmbTextEscapement, XwcTextEscapement - obtain	the escapement of text

SYNTAX
  int XmbTextEscapement(_f_o_n_t__s_e_t, _s_t_r_i_n_g, _n_u_m__b_y_t_e_s)
	XFontSet _f_o_n_t__s_e_t;
	char *_s_t_r_i_n_g;
	int _n_u_m__b_y_t_e_s;

  int XwcTextEscapement(_f_o_n_t__s_e_t, _s_t_r_i_n_g, _n_u_m__w_c_h_a_r_s)
	XFontSet _f_o_n_t__s_e_t;
	wchar_t	*_s_t_r_i_n_g;
	int _n_u_m__w_c_h_a_r_s;

ARGUMENTS

  _f_o_n_t__s_e_t  Specifies the font set.

  _n_u_m__b_y_t_e_s Specifies the number of bytes in the string	argument.

  _n_u_m__w_c_h_a_r_s
	    Specifies the number of characters in the string argument.

  _s_t_r_i_n_g    Specifies the character string.

DESCRIPTION
  The _X_m_b_T_e_x_t_E_s_c_a_p_e_m_e_n_t	and _X_w_c_T_e_x_t_E_s_c_a_p_e_m_e_n_t 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	posi-
  tive.

SEE ALSO
  XmbTextExtents(3X11),	XmbTextPerCharExtents(3X11) _X_l_i_b - _C _L_a_n_g_u_a_g_e _X
  _I_n_t_e_r_f_a_c_e



















