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

  1.  
  2.  
  3.  
  4. XSHAPE(3X11)           X FUNCTIONS             XSHAPE(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRe-
  9.        gion,     XShapeCombineRectangles,      XShapeCombineMask,
  10.        XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents,
  11.        XShapeSelectInput,  XShapeInputSelected,     XShapeGetRectan-
  12.        gles - X nonrectangular shape functions
  13.  
  14. SSYYNNTTAAXX
  15.        #include <X11/extensions/shape.h>
  16.  
  17.        Bool XShapeQueryExtension (
  18.         Display *dpy,
  19.         int *event_basep,
  20.         int *error_basep);
  21.  
  22.        Status XShapeQueryVersion (
  23.         Display *dpy,
  24.         int *major_versionp,
  25.         int *minor_versionp);
  26.  
  27.        void XShapeCombineRegion (
  28.         Display *dpy,
  29.         Window dest,
  30.         int destKind,
  31.         int xOff,
  32.         int yOff,
  33.         struct _XRegion *r,
  34.         int op);
  35.  
  36.        void XShapeCombineRectangles (
  37.         Display *dpy,
  38.         XID dest,
  39.         int destKind,
  40.         int xOff,
  41.         int yOff,
  42.         XRectangle *rects,
  43.         int n_rects,
  44.         int op,
  45.         int ordering);
  46.  
  47.        void XShapeCombineMask (
  48.         Display *dpy,
  49.         XID dest,
  50.         int destKind,
  51.         int xOff,
  52.         int yOff,
  53.         Pixmap src,
  54.         int op);
  55.  
  56.        void XShapeCombineShape (
  57.         Display *dpy,
  58.         XID dest,
  59.         int destKind,
  60.         int xOff,
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XSHAPE(3X11)           X FUNCTIONS             XSHAPE(3X11)
  71.  
  72.  
  73.         int yOff,
  74.         Pixmap src,
  75.         int srcKind,
  76.         int op);
  77.  
  78.        void XShapeOffsetShape (
  79.         Display *dpy,
  80.         XID dest,
  81.         int destKind,
  82.         int xOff,
  83.         int yOff);
  84.  
  85.        Status XShapeQueryExtents (
  86.         Display *dpy,
  87.         Window window,
  88.         int *bShaped,
  89.         int *xbs,
  90.         int *ybs,
  91.         unsigned int *wbs,
  92.         unsigned int *hbs,
  93.         int *cShaped,
  94.         int *xcs,
  95.         int *ycs,
  96.         unsigned int *wcs,
  97.         unsigned int *hcs);
  98.  
  99.        void XShapeSelectInput (
  100.         Display *dpy,
  101.         Window window,
  102.         unsigned longmask);
  103.  
  104.        unsigned long XShapeInputSelected (
  105.         Display *dpy,
  106.         Window window);
  107.  
  108.        XRectangle *XShapeGetRectangles (
  109.         Display *dpy,
  110.         Window window,
  111.         int kind,
  112.         int *count,
  113.         int *ordering);
  114.  
  115. SSTTRRUUCCTTUURREESS
  116.        typedef struct {
  117.        int type;             /* of event */
  118.        unsigned long serial;     /* # of last request processed by server */
  119.        Bool send_event;         /* true if this came frome a SendEvent request */
  120.        Display *display;         /* Display the event was read from */
  121.        Window window;         /* window of event */
  122.        int kind;             /* ShapeBounding or ShapeClip */
  123.        int x, y;             /* extents of new region */
  124.        unsigned width, height;
  125.        Time time;             /* server timestamp when region changed */
  126.        Bool shaped;             /* true if the region exists */
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XSHAPE(3X11)           X FUNCTIONS             XSHAPE(3X11)
  137.  
  138.  
  139.        } XShapeEvent;
  140.  
  141. DDEESSCCRRIIPPTTIIOONN
  142.        The  _X_1_1     _N_o_n_r_e_c_t_a_n_g_u_l_a_r     _W_i_n_d_o_w _S_h_a_p_e _E_x_t_e_n_s_i_o_n adds non-
  143.        rectangular windows to the X Window System.
  144.  
  145. PPRREEDDEEFFIINNEEDD VVAALLUUEESS
  146.        Operations:
  147.         _S_h_a_p_e_S_e_t
  148.         _S_h_a_p_e_U_n_i_o_n
  149.         _S_h_a_p_e_I_n_t_e_r_s_e_c_t
  150.         _S_h_a_p_e_S_u_b_t_r_a_c_t
  151.         _S_h_a_p_e_I_n_v_e_r_t
  152.  
  153.        Shape Kinds:
  154.         _S_h_a_p_e_B_o_u_n_d_i_n_g
  155.         _S_h_a_p_e_C_l_i_p
  156.  
  157.        Event defines:
  158.         _S_h_a_p_e_N_o_t_i_f_y_M_a_s_k
  159.         _S_h_a_p_e_N_o_t_i_f_y
  160.  
  161. BBUUGGSS
  162.        This manual pages needs a lot more work.
  163.  
  164. SSEEEE AALLSSOO
  165.        _X_1_1 _N_o_n_r_e_c_t_a_n_g_u_l_a_r _W_i_n_d_o_w _S_h_a_p_e _E_x_t_e_n_s_i_o_n
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. X Version 11           Release 6.1                3
  197.  
  198.  
  199.