


XPolygonRegion(3X11)					 XPolygonRegion(3X11)
X11R5									X11R5



NAME
  XPolygonRegion, XClipBox - generate regions

SYNTAX
  Region XPolygonRegion(_p_o_i_n_t_s,	_n, _f_i_l_l__r_u_l_e)
	XPoint _p_o_i_n_t_s[];
	int _n;
	int _f_i_l_l__r_u_l_e;

  XClipBox(_r, _r_e_c_t__r_e_t_u_r_n)
	Region _r;
	XRectangle *_r_e_c_t__r_e_t_u_r_n;

ARGUMENTS

  _f_i_l_l__r_u_l_e Specifies the fill-rule you	want to	set for	the specified GC.
	    You	can pass _E_v_e_n_O_d_d_R_u_l_e or	_W_i_n_d_i_n_g_R_u_l_e.

  _n	    Specifies the number of points in the polygon.

  _p_o_i_n_t_s    Specifies an array of points.

  _r	    Specifies the region.

  _r_e_c_t__r_e_t_u_r_n
	    Returns the	smallest enclosing rectangle.

DESCRIPTION
  The _X_P_o_l_y_g_o_n_R_e_g_i_o_n function returns a	region for the polygon defined by the
  points array.	 For an	explanation of fill_rule, see _X_C_r_e_a_t_e_G_C.

  The _X_C_l_i_p_B_o_x function	returns	the smallest rectangle enclosing the speci-
  fied region.

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





















