


XtTranslateCoords(3Xt)				       XtTranslateCoords(3Xt)
X11R5									X11R5



NAME
  XtTranslateCoords - translate	widget coordinates

SYNTAX
  void XtTranslateCoords(_w, _x, _y, _r_o_o_t_x__r_e_t_u_r_n,	_r_o_o_t_y__r_e_t_u_r_n)
	Widget _w;
	Position _x, _y;
	Position *_r_o_o_t_x__r_e_t_u_r_n,	*_r_o_o_t_y__r_e_t_u_r_n;

ARGUMENTS

  _r_o_o_t_x__r_e_t_u_r_n
  _r_o_o_t_y__r_e_t_u_r_n
	    Returns the	root-relative x	and y coordinates.

  _x
  _y	    Specify the	widget-relative	x and y	coordinates.

  _w	    Specifies the widget.

DESCRIPTION
  While	_X_t_T_r_a_n_s_l_a_t_e_C_o_o_r_d_s is similar to	the Xlib _X_T_r_a_n_s_l_a_t_e_C_o_o_r_d_s function,
  it does not generate a server	request	because	all the	required information
  already is in	the widget's data structures.

SEE ALSO
  _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e






























