XShapeGetRectangles(3x)

XShapeGetRectangles3x

X nonrectangular shape functions

Part of XShape(3x).

Usage

Bool XShapeQueryExtension (

Display *dpy,

int *event_basep,

int *error_basep);

Status XShapeQueryVersion (

Display *dpy,

int *major_versionp,

int *minor_versionp);

void XShapeCombineRegion (

Display *dpy,

int destKind,

int xOff,

int yOff,

struct _XRegion *r,

int op);

void XShapeCombineRectangles (

Display *dpy,

int destKind,

int xOff,

int yOff,

XRectangle *rects,

int n_rects,

int ordering);

void XShapeCombineMask (

Display *dpy,

int destKind,

int xOff,

int yOff,

int op);

void XShapeCombineShape (

Display *dpy,

int destKind,

int xOff,

int yOff,

int srcKind,

int op);

void XShapeOffsetShape (

Display *dpy,

int destKind,

int xOff,

int yOff);

Status XShapeQueryExtents (

Display *dpy,

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,

unsigned longmask);

unsigned long XShapeInputSelected (

Display *dpy,

Window window);

XRectangle *XShapeGetRectangles (

Display *dpy,

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

Overview

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

Releases

9 releases since Debian 1.1 (Buzz); the text changed 5 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.2
  4. 3.0
  5. 3.1
  6. 4.0

Bugs

This manual pages needs a lot more work.

From libxext-dev 1:1.0.1-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.