Scroll to navigation

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

̾??

XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRegion, XShapeCombineRectangles, XShapeCombineMask, XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, XShapeGetRectangles - X ???????????????ɥ??ؿ?

????

#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);

??¤??

typedef struct {

int type;
unsigned long serial;
Bool send_event;
Display *display;
Window window;
int kind;
int x, y;
unsigned width, height;
Time time;
Bool shaped; } XShapeEvent;

????

X11 ???????????????ɥ???????ĥ(X11 Nonrectangular Window Shape Extension)?ϡ?X ???????ɥ??????ƥ????????????????ɥ??????Ѳ?ǽ?ˤ??롣

??????

????:

ShapeSet
ShapeUnion
ShapeIntersect
ShapeSubtract
ShapeInvert

?????μ???:

ShapeBounding
ShapeClip

???٥???????:

ShapeNotifyMask
ShapeNotify

?Х?

???Υޥ˥奢???ڡ????ˤϤ??äȼ????ä???ɬ?פ????롣

??Ϣ????

X11 Nonrectangular Window Shape Extension

Release 6.5 X Version 11