NAME
XCreateRegion, XSetRegion, XDestroyRegion - create or destroy regions
SYNTAX
Region XCreateRegion(void);
int XSetRegion(Display *_d_i_s_p_l_a_y, GC _g_c, Region _r);
int XDestroyRegion(Region _r);
ARGUMENTS
-
_d_i_s_p_l_a_y
Specifies the connection to the X server.
-
-
_g_c
Specifies the GC.
-
-
_r
Specifies the region.
-
DESCRIPTION
The
_X_C_r_e_a_t_e_R_e_g_i_o_n
function creates a new empty region.
The
_X_S_e_t_R_e_g_i_o_n
function sets the clip-mask in the GC to the specified region.
The region is specified relative to the drawable's origin.
The resulting GC clip origin is implementation-dependent.
Once it is set in the GC,
the region can be destroyed.
The
_X_D_e_s_t_r_o_y_R_e_g_i_o_n
function deallocates the storage associated with a specified region.
SEE ALSO
XEmptyRegion(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