


XTextWidth(3X11)					     XTextWidth(3X11)
X11R5									X11R5



NAME
  XTextWidth, XTextWidth16 - compute text width

SYNTAX
  int XTextWidth(_f_o_n_t__s_t_r_u_c_t, _s_t_r_i_n_g, _c_o_u_n_t)
	XFontStruct *_f_o_n_t__s_t_r_u_c_t;
	char *_s_t_r_i_n_g;
	int _c_o_u_n_t;

  int XTextWidth16(_f_o_n_t__s_t_r_u_c_t,	_s_t_r_i_n_g,	_c_o_u_n_t)
	XFontStruct *_f_o_n_t__s_t_r_u_c_t;
	XChar2b	*_s_t_r_i_n_g;
	int _c_o_u_n_t;

ARGUMENTS

  _c_o_u_n_t	    Specifies the character count in the specified string.

  _f_o_n_t__s_t_r_u_c_t
	    Specifies the font used for	the width computation.

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

DESCRIPTION
  The _X_T_e_x_t_W_i_d_t_h and _X_T_e_x_t_W_i_d_t_h_1_6 functions return the width of	the specified
  8-bit	or 2-byte character strings.

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




























