home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XPolygonRegion(3X11) XLIB FUNCTIONS XPolygonRegion(3X11)
-
-
- NNAAMMEE
- XPolygonRegion, XClipBox - generate regions
-
- SSYYNNTTAAXX
- 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;
-
- AARRGGUUMMEENNTTSS
- _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.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_P_o_l_y_g_o_n_R_e_g_i_o_n function returns a region for the poly-
- gon 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 specified region.
-
- SSEEEE AALLSSOO
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 1
-
-
-