NAME
XtAddExposureToRegion - merge exposure events into a region
SYNTAX
void XtAddExposureToRegion(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