


XEmptyRegion(3X11)					   XEmptyRegion(3X11)
X11R5									X11R5



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	rectangle 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)
  _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







