home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xcreateregion.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XCreateRegion(3X11)      XLIB FUNCTIONS      XCreateRegion(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XCreateRegion, XSetRegion, XDestroyRegion - create or
  9.        destroy regions
  10.  
  11. SSYYNNTTAAXX
  12.        Region XCreateRegion()
  13.  
  14.        XSetRegion(_d_i_s_p_l_a_y, _g_c, _r)
  15.          Display *_d_i_s_p_l_a_y;
  16.          GC _g_c;
  17.          Region _r;
  18.  
  19.        XDestroyRegion(_r)
  20.          Region _r;
  21.  
  22. AARRGGUUMMEENNTTSS
  23.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  24.  
  25.        _g_c     Specifies the GC.
  26.  
  27.        _r     Specifies the region.
  28.  
  29. DDEESSCCRRIIPPTTIIOONN
  30.        The _X_C_r_e_a_t_e_R_e_g_i_o_n function creates a new empty region.
  31.  
  32.        The _X_S_e_t_R_e_g_i_o_n function sets the clip-mask in the GC to
  33.        the specified region.  The region is specified relative to
  34.        the drawable's origin.  The resulting GC clip origin is
  35.        implementation-dependent.  Once it is set in the GC, the
  36.        region can be destroyed.
  37.  
  38.        The _X_D_e_s_t_r_o_y_R_e_g_i_o_n function deallocates the storage asso-
  39.        ciated with a specified region.
  40.  
  41. SSEEEE AALLSSOO
  42.        XEmptyRegion(3X11), XIntersectRegion(3X11)
  43.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.