XShapeQueryExtents man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]



XSHAPE(3X11)		X FUNCTIONS		XSHAPE(3X11)

NAME
       XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRe-
       gion,	XShapeCombineRectangles,      XShapeCombineMask,
       XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents,
       XShapeSelectInput,  XShapeInputSelected, XShapeGetRectan-
       gles - 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,

X Version 11		Release 6.4				1

XSHAPE(3X11)		X FUNCTIONS		XSHAPE(3X11)

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

X Version 11		Release 6.4				2

XSHAPE(3X11)		X FUNCTIONS		XSHAPE(3X11)

       } XShapeEvent;

DESCRIPTION
       The  X11 Nonrectangular	Window Shape Extension adds non-
       rectangular 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		Release 6.4				3

[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net