xenocara/lib/libXext/man/XShape.man

175 lines
4.1 KiB
Groff
Raw Normal View History

2006-11-25 09:46:32 -07:00
.\" Copyright (c) 1989, 1994 X Consortium
2012-03-10 07:01:58 -07:00
.\"
2006-11-25 09:46:32 -07:00
.\" Permission is hereby granted, free of charge, to any person obtaining a
2012-03-10 07:01:58 -07:00
.\" copy of this software and associated documentation files (the "Software"),
.\" to deal in the Software without restriction, including without limitation
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
.\" and/or sell copies of the Software, and to permit persons to whom the
2006-11-25 09:46:32 -07:00
.\" Software furnished to do so, subject to the following conditions:
2012-03-10 07:01:58 -07:00
.\"
2006-11-25 09:46:32 -07:00
.\" The above copyright notice and this permission notice shall be included in
.\" all copies or substantial portions of the Software.
2012-03-10 07:01:58 -07:00
.\"
2006-11-25 09:46:32 -07:00
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2012-03-10 07:01:58 -07:00
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2006-11-25 09:46:32 -07:00
.\" SOFTWARE.
2012-03-10 07:01:58 -07:00
.\"
.\" Except as contained in this notice, the name of the X Consortium shall not
.\" be used in advertising or otherwise to promote the sale, use or other
.\" dealing in this Software without prior written authorization from the
2006-11-25 09:46:32 -07:00
.\" X Consortium.
.\"
.de ZN
.ie t \fB\^\\$1\^\fR\\$2
.el \fI\^\\$1\^\fP\\$2
..
.TH XSHAPE __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRegion, XShapeCombineRectangles, XShapeCombineMask, XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, XShapeGetRectangles \- X nonrectangular shape functions
.SH SYNTAX
.nf
.LP
\&#include <X11/extensions/shape.h>
.LP
Bool XShapeQueryExtension (
2012-03-10 07:01:58 -07:00
Display *dpy,
int *event_basep,
2006-11-25 09:46:32 -07:00
int *error_basep);
.LP
Status XShapeQueryVersion (
2012-03-10 07:01:58 -07:00
Display *dpy,
int *major_versionp,
2006-11-25 09:46:32 -07:00
int *minor_versionp);
.LP
void XShapeCombineRegion (
2012-03-10 07:01:58 -07:00
Display *dpy,
Window dest,
int destKind,
int xOff,
int yOff,
struct _XRegion *r,
2006-11-25 09:46:32 -07:00
int op);
.LP
void XShapeCombineRectangles (
2012-03-10 07:01:58 -07:00
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
XRectangle *rects,
int n_rects,
int op,
2006-11-25 09:46:32 -07:00
int ordering);
.LP
void XShapeCombineMask (
2012-03-10 07:01:58 -07:00
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
Pixmap src,
2006-11-25 09:46:32 -07:00
int op);
.LP
void XShapeCombineShape (
2012-03-10 07:01:58 -07:00
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
Pixmap src,
int srcKind,
2006-11-25 09:46:32 -07:00
int op);
.LP
void XShapeOffsetShape (
2012-03-10 07:01:58 -07:00
Display *dpy,
XID dest,
int destKind,
int xOff,
2006-11-25 09:46:32 -07:00
int yOff);
.LP
Status XShapeQueryExtents (
2012-03-10 07:01:58 -07:00
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,
2006-11-25 09:46:32 -07:00
unsigned int *hcs);
.LP
void XShapeSelectInput (
2012-03-10 07:01:58 -07:00
Display *dpy,
Window window,
2006-11-25 09:46:32 -07:00
unsigned longmask);
.LP
unsigned long XShapeInputSelected (
2012-03-10 07:01:58 -07:00
Display *dpy,
2006-11-25 09:46:32 -07:00
Window window);
.LP
XRectangle *XShapeGetRectangles (
2012-03-10 07:01:58 -07:00
Display *dpy,
Window window,
int kind,
int *count,
2006-11-25 09:46:32 -07:00
int *ordering);
.fi
.SH STRUCTURES
.nf
2013-05-31 16:17:42 -06:00
.ft CW
2006-11-25 09:46:32 -07:00
typedef struct {
2008-05-24 03:29:33 -06:00
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 */
2006-11-25 09:46:32 -07:00
unsigned width, height;
2008-05-24 03:29:33 -06:00
Time time; /\&* server timestamp when region changed */
Bool shaped; /\&* true if the region exists */
2006-11-25 09:46:32 -07:00
} XShapeEvent;
2013-05-31 16:17:42 -06:00
.ft
2006-11-25 09:46:32 -07:00
.fi
.SH DESCRIPTION
The \fIX11 Nonrectangular Window Shape Extension\fP adds nonrectangular
windows to the X Window System.
.SH PREDEFINED VALUES
Operations:
2013-05-31 16:17:42 -06:00
.RS
2006-11-25 09:46:32 -07:00
.nf
.ZN ShapeSet
.ZN ShapeUnion
.ZN ShapeIntersect
.ZN ShapeSubtract
.ZN ShapeInvert
.fi
2013-05-31 16:17:42 -06:00
.RE
2006-11-25 09:46:32 -07:00
.sp
Shape Kinds:
2013-05-31 16:17:42 -06:00
.RS
2006-11-25 09:46:32 -07:00
.nf
.ZN ShapeBounding
.ZN ShapeClip
.fi
2013-05-31 16:17:42 -06:00
.RE
2006-11-25 09:46:32 -07:00
.sp
Event defines:
2013-05-31 16:17:42 -06:00
.RS
2006-11-25 09:46:32 -07:00
.nf
.ZN ShapeNotifyMask
.ZN ShapeNotify
.fi
2013-05-31 16:17:42 -06:00
.RE
2006-11-25 09:46:32 -07:00
.SH BUGS
2013-05-31 16:17:42 -06:00
This manual page needs a lot more work.
2006-11-25 09:46:32 -07:00
.SH SEE ALSO
\fIX11 Nonrectangular Window Shape Extension\fP