


XtAddExposureToRegion(3Xt)			   XtAddExposureToRegion(3Xt)
X11R5									X11R5



NAME
  XtAddExposureToRegion	- merge	exposure events	into a region

SYNTAX
  void XtAddExposureToRegion(_e_v_e_n_t, _r_e_g_i_o_n)
       XEvent *_e_v_e_n_t;
       Region _r_e_g_i_o_n;

ARGUMENTS

  _e_v_e_n_t	    Specifies a	pointer	to the _E_x_p_o_s_e or _G_r_a_p_h_i_c_s_E_x_p_o_s_e	event.

  _r_e_g_i_o_n    Specifies the region object	(as defined in <_X_1_1/_X_u_t_i_l._h>).

DESCRIPTION
  The _X_t_A_d_d_E_x_p_o_s_u_r_e_T_o_R_e_g_i_o_n function computes the union	of the rectangle
  defined by the exposure event	and the	specified region.  Then, it stores
  the results back in region.  If the event argument is	not an _E_x_p_o_s_e or _G_r_a_-
  _p_h_i_c_s_E_x_p_o_s_e event, _X_t_A_d_d_E_x_p_o_s_u_r_e_T_o_R_e_g_i_o_n returns without an error and
  without modifying region.

  This function	is used	by the exposure	compression mechanism (see Section
  7.9.3).

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































