XEmptyRegion(3X11) AIX (XLIB FUNCTIONS) XEmptyRegion(3X11) NAME XEmptyRegion, XEqualRegion, XPointInRegion, XRectInRegion - determine if regions are empty or equal SYNTAX Bool XEmptyRegion(_r) Region _r; Bool XEqualRegion(_r_1, _r_2) Region _r_1, _r_2; Bool XPointInRegion(_r, _x, _y) Region _r; int _x, _y; int XRectInRegion(_r, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t) Region _r; int _x, _y; unsigned int _w_i_d_t_h, _h_e_i_g_h_t; ARGUMENTS _r Specifies the region. _r_1 _r_2 Specify the two regions. _w_i_d_t_h _h_e_i_g_h_t Specify the width and height, which define the rectangle. _x _y Specify the x and y coordinates, which define the point or the coordinates of the upper-left corner of the rectangle. DESCRIPTION The _X_E_m_p_t_y_R_e_g_i_o_n function returns _T_r_u_e if the region is empty. The _X_E_q_u_a_l_R_e_g_i_o_n function returns _T_r_u_e if the two regions have the same offset, size, and shape. The _X_P_o_i_n_t_I_n_R_e_g_i_o_n function returns _T_r_u_e if the point (x, y) is contained in the region r. The _X_R_e_c_t_I_n_R_e_g_i_o_n function returns _R_e_c_t_a_n_g_l_e_I_n if the rec- tangle is entirely in the specified region, _R_e_c_t_a_n_g_l_e_O_u_t if the rectangle is entirely out of the specified region, and _R_e_c_t_a_n_g_l_e_P_a_r_t if the rectangle is partially in the specified region. SEE ALSO XCreateRegion(3X11), XIntersectRegion(3X11) Rev. Release 5 Page 1 XEmptyRegion(3X11) AIX (XLIB FUNCTIONS) XEmptyRegion(3X11) _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e Rev. Release 5 Page 2