XSHAPE(3X11) AIX (X FUNCTIONS) XSHAPE(3X11) NAME XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRe- gion, XShapeCombineRectangles, XShapeCombineMask, XShapeCom- bineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, XShapeGetRectangles - X nonrectangular shape functions SYNTAX #include Bool XShapeQueryExtension ( Display *dpy, int *event_basep, int *error_basep); Status XShapeQueryVersion ( Display *dpy, int *major_versionp, int *minor_versionp); void XShapeCombineRegion ( Display *dpy, Window dest, int destKind, int xOff, int yOff, struct _XRegion *r, int op); void XShapeCombineRectangles ( Display *dpy, XID dest, int destKind, int xOff, int yOff, XRectangle *rects, int n_rects, int op, int ordering); void XShapeCombineMask ( Display *dpy, XID dest, int destKind, int xOff, int yOff, Pixmap src, int op); void XShapeCombineShape ( Display *dpy, XID dest, int destKind, Rev. Release 5 Page 1 XSHAPE(3X11) AIX (X FUNCTIONS) XSHAPE(3X11) int xOff, int yOff, Pixmap src, int srcKind, int op); void XShapeOffsetShape ( Display *dpy, XID dest, int destKind, int xOff, int yOff); Status XShapeQueryExtents ( Display *dpy, Window window, int *bShaped, int *xbs, int *ybs, unsigned int *wbs, unsigned int *hbs, int *cShaped, int *xcs, int *ycs, unsigned int *wcs, unsigned int *hcs); void XShapeSelectInput ( Display *dpy, Window window, unsigned longmask); unsigned long XShapeInputSelected ( Display *dpy, Window window); XRectangle *XShapeGetRectangles ( Display *dpy, Window window, int kind, int *count, int *ordering); STRUCTURES typedef struct { int type; /* of event */ unsigned long serial; /* # of last request processed by server */ Bool send_event; /* true if this came frome a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* window of event */ int kind; /* ShapeBounding or ShapeClip */ int x, y; /* extents of new region */ unsigned width, height; Rev. Release 5 Page 2 XSHAPE(3X11) AIX (X FUNCTIONS) XSHAPE(3X11) Time time; /* server timestamp when region changed */ Bool shaped; /* true if the region exists */ } XShapeEvent; DESCRIPTION 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 nonrec- tangular windows to the X Window System. PREDEFINED VALUES Operations: _S_h_a_p_e_S_e_t _S_h_a_p_e_U_n_i_o_n _S_h_a_p_e_I_n_t_e_r_s_e_c_t _S_h_a_p_e_S_u_b_t_r_a_c_t _S_h_a_p_e_I_n_v_e_r_t Shape Kinds: _S_h_a_p_e_B_o_u_n_d_i_n_g _S_h_a_p_e_C_l_i_p Event defines: _S_h_a_p_e_N_o_t_i_f_y_M_a_s_k _S_h_a_p_e_N_o_t_i_f_y BUGS This manual pages needs a lot more work. SEE ALSO _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 Rev. Release 5 Page 3