


XIntersectRegion(3X11)				       XIntersectRegion(3X11)
X11R5									X11R5



NAME
  XIntersectRegion, XUnionRegion, XUnionRectWithRegion,	XSubtractRegion,
  XXorRegion, XOffsetRegion, XShrinkRegion - region arithmetic

SYNTAX
  XIntersectRegion(_s_r_a,	_s_r_b, _d_r__r_e_t_u_r_n)
	Region _s_r_a, _s_r_b, _d_r__r_e_t_u_r_n;

  XUnionRegion(_s_r_a, _s_r_b, _d_r__r_e_t_u_r_n)
	Region _s_r_a, _s_r_b, _d_r__r_e_t_u_r_n;

  XUnionRectWithRegion(_r_e_c_t_a_n_g_l_e, _s_r_c__r_e_g_i_o_n, _d_e_s_t__r_e_g_i_o_n__r_e_t_u_r_n)
       XRectangle *_r_e_c_t_a_n_g_l_e;
       Region _s_r_c__r_e_g_i_o_n;
       Region _d_e_s_t__r_e_g_i_o_n__r_e_t_u_r_n;

  XSubtractRegion(_s_r_a, _s_r_b, _d_r__r_e_t_u_r_n)
	Region _s_r_a, _s_r_b, _d_r__r_e_t_u_r_n;

  XXorRegion(_s_r_a, _s_r_b, _d_r__r_e_t_u_r_n)
	Region _s_r_a, _s_r_b, _d_r__r_e_t_u_r_n;

  XOffsetRegion(_r, _d_x, _d_y)
	Region _r;
	int _d_x,	_d_y;

  XShrinkRegion(_r, _d_x, _d_y)
	Region _r;
	int _d_x,	_d_y;

ARGUMENTS

  _d_e_s_t__r_e_g_i_o_n__r_e_t_u_r_n
	    Returns the	destination region.

  _d_r__r_e_t_u_r_n Returns the	result of the computation.

  _d_x
  _d_y	    Specify the	x and y	coordinates, which define the amount you want
	    to	the specified region.

  _r	    Specifies the region.

  _r_e_c_t_a_n_g_l_e Specifies the rectangle.

  _s_r_a
  _s_r_b	    Specify the	two regions with which you want	to perform the compu-
	    tation.

  _s_r_c__r_e_g_i_o_n
	    Specifies the source region	to be used.

DESCRIPTION
  The _X_I_n_t_e_r_s_e_c_t_R_e_g_i_o_n function	computes the intersection of two regions.

  The _X_U_n_i_o_n_R_e_g_i_o_n function computes the union of two regions.


  The _X_U_n_i_o_n_R_e_c_t_W_i_t_h_R_e_g_i_o_n function updates the	destination region from	a
  union	of the specified rectangle and the specified source region.

  The _X_S_u_b_t_r_a_c_t_R_e_g_i_o_n function subtracts srb from sra and stores the results
  in dr_return.

  The _X_X_o_r_R_e_g_i_o_n function calculates the difference between the	union and
  intersection of two regions.

  The _X_O_f_f_s_e_t_R_e_g_i_o_n function moves the specified region	by a specified
  amount.

  The _X_S_h_r_i_n_k_R_e_g_i_o_n function reduces the specified region by a specified
  amount.  Positive values shrink the size of the region, and negative values
  expand the region.

SEE ALSO
  XCreateRegion(3X11), XDrawRectangle(3X11), 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















































