XShapeCombineRegion(3)


HOME

XSHAPE

NAME
SYNTAX
STRUCTURES
DESCRIPTION
PREDEFINED VALUES
BUGS
SEE ALSO

NAME

XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRegion, XShapeCombineRectangles, XShapeCombineMask, XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, 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;

/td>

/* 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;

/td>

/* 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



More Linux Commands

manpages/XScreenSaverSelectInput.3.html
XScreenSaverSelectInput(3) - X11 Screen Saver extension clie
The X Window System provides support for changing the image on a display screen after a user-settable period of inactivity to avoid burning the cathode ray tube

manpages/XtInsertRawEventHandler.3.html
XtInsertRawEventHandler(3) - add and remove event handlers
The XtAddEventHandler function registers a procedure with the dispatch mechanism that is to be called when an event that matches the mask occurs on the specifie

manpages/thread-keyring.7.html
thread-keyring(7) Per-thread keyring - Linux manual page....
The thread keyring is a keyring used to anchor keys on behalf of a process. It is only created when a thread requests it. A special serial number value, KEY_SPE

manpages/tdelete.3.html
tdelete(3) - manage a binary tree - Linux manual page.......
tsearch(), tfind(), twalk(), and tdelete() manage a binary tree. They are generalized from Knuth (6.2.2) Algorithm T. The first field in each node of the tree i

manpages/fseeko.3.html
fseeko(3) - seek to or report file position - Linux man page
The fseeko() and ftello() functions are identical to fseek(3) and ftell(3) (see fseek(3)), respectively, except that the offset argument of fseeko() and the ret

manpages/NDBM_File.3pm.html
NDBM_File(3pm) Tied access to ndbm files - Linux man page...
NDBM_File establishes a connection between a Perl hash variable and a file in NDBM_File format;. You can manipulate the data in the file just as if it were in a

manpages/XRRConfigRates.3.html
XRRConfigRates(3) - X Resize, Rotate and Reflection extensio
Xrandr is a simple library designed to interface the X Resize and Rotate Extension. This allows clients to change the size and rotation of the root window of a

manpages/oqmgr.8.html
oqmgr(8) - old Postfix queue manager - Linux manual page....
The oqmgr(8) daemon awaits the arrival of incoming mail and arranges for its delivery via Postfix delivery processes. The actual mail routing strategy is delega

manpages/gnutls_x509_crq_set_version.3.html
gnutls_x509_crq_set_version(3) - API function (Man Page)....
This function will set the version of the certificate request. For version 1 requests this must be one. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, ot

manpages/spirographx.1.html
spirographx(1) - animated spirographs - Linux manual page...
Port of SpirographX by Holmes Futrell &lt;holmes@neatosoftware.com&gt; (http://homepage.mac.com/solidmag/spiro/). Ported to Linux by Tugrul Galatali. OPTIONS --root D

manpages/pthread_attr_getschedparam.3.html
pthread_attr_getschedparam(3) - set/get scheduling parameter
The pthread_attr_setschedparam() function sets the scheduling parameter attributes of the thread attributes object referred to by attr to the values specified i

manpages/post_menu.3menu.html
post_menu(3menu) - write or erase menus from associated subw
The function post_menu displays a menu to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine





We can't live, work or learn in freedom unless the software we use is free.