This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XSHAPE(3)                                        X FUNCTIONS                                       XSHAPE(3)



NAME
       XShapeQueryExtension,  XShapeQueryVersion,  XShapeCombineRegion,  XShapeCombineRectangles, XShapeCom-bineMask, XShapeCombineMask,
       bineMask, XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputS-elected, XShapeInputSelected,
       elected, XShapeGetRectangles - X nonrectangular shape functions

SYNTAX
       #include <X11/extensions/shape.h>

       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,
            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 from 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;
           Time time;                /* server timestamp when region changed */
           Bool shaped;              /* true if the region exists */
       } XShapeEvent;

DESCRIPTION
       The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System.

PREDEFINED VALUES
       Operations:
            ShapeSet
            ShapeUnion
            ShapeIntersect
            ShapeSubtract
            ShapeInvert

       Shape Kinds:
            ShapeBounding
            ShapeClip

       Event defines:
            ShapeNotifyMask
            ShapeNotify

BUGS
       This manual pages needs a lot more work.

SEE ALSO
       X11 Nonrectangular Window Shape Extension



X Version 11                                    libXext 1.0.5                                      XSHAPE(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...