XOffsetRegion(3)


HOME

XIntersectRegion

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XIntersectRegion, XUnionRegion, XUnionRectWithRegion, XSubtractRegion, XXorRegion, XOffsetRegion, XShrinkRegion − region arithmetic

SYNTAX

int XIntersectRegion(Region sra, Region srb, Region dr_return);

int XUnionRegion(Region sra, Region srb, Region dr_return);

int XUnionRectWithRegion(XRectangle *rectangle, Region src_region, Region dest_region_return);

int XSubtractRegion(Region sra, Region srb, Region dr_return);

int XXorRegion(Region sra, Region srb, Region dr_return);

int XOffsetRegion(Region r, int dx, int dy);

int XShrinkRegion(Region r, int dx, int dy);

ARGUMENTS

dest_region_return

Returns the destination region.

dr_return

Returns the result of the computation. ds Dy move or shrink

dx

dy

Specify the x and y coordinates, which define the amount you want to the specified region.

r

Specifies the region.

rectangle

Specifies the rectangle.

sra

srb

Specify the two regions with which you want to perform the computation.

src_region

Specifies the source region to be used.

DESCRIPTION

The XIntersectRegion function computes the intersection of two regions.

The XUnionRegion function computes the union of two regions.

The XUnionRectWithRegion function updates the destination region from a union of the specified rectangle and the specified source region.

The XSubtractRegion function subtracts srb from sra and stores the results in dr_return.

The XXorRegion function calculates the difference between the union and intersection of two regions.

The XOffsetRegion function moves the specified region by a specified amount.

The XShrinkRegion function reduces the specified region by a specified amount. Positive values shrink the size of the region, and negative values expand the region.

SEE ALSO

XCreateRegion(3), XDrawRectangle(3), XEmptyRegion(3)
Xlib − C Language X Interface



More Linux Commands

manpages/Tcl_DeleteThreadExitHandler.3.html
Tcl_DeleteThreadExitHandler(3) - end the application or thre
The procedures described here provide a graceful mechanism to end the execution of a Tcl application. Exit handlers are invoked to cleanup the applications stat

manpages/FcStrPlus.3.html
FcStrPlus(3) - concatenate two strings - Linux manual page
This function allocates new storage and places the concatenation of s1 and s2 there, returning the new string. VERSION Fontconfig version 2.8.0 FcStrPlus.3 (Lib

manpages/pam_sm_setcred.3.html
pam_sm_setcred(3) - PAM service function to alter credential
The pam_sm_setcred function is the service modules implementation of the pam_setcred(3) interface. This function performs the task of altering the credentials o

manpages/menu_userptr.3menu.html
menu_userptr(3menu) - associate application data with a menu
Every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions get and set that

manpages/chage.1.html
chage(1) - change user password expiry information (ManPage)
The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determ

manpages/systemd-ask-password.1.html
systemd-ask-password(1) - Query the user for a system passwo
systemd-ask-password may be used to query a system password or passphrase from the user, using a question message specified on the command line. When run from a

manpages/snmp_api_errstring.3.html
snmp_api_errstring(3) - netsnmp_session_api functions.......
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After

manpages/sane.7.html
sane(7) - Scanner Access Now Easy: API for accessing scanner
SANE is an application programming interface (API) that provides standardized access to any raster image scanner hardware. The standardized interface makes it p

manpages/gnutls_pubkey_import_openpgp.3.html
gnutls_pubkey_import_openpgp(3) - API function (Man Page)...
Imports a public key from an openpgp key. This function will import the given public key to the abstract gnutls_pubkey_t structure. The subkey set as preferred

manpages/Tcl_SetVar2.3.html
Tcl_SetVar2(3) - manipulate Tcl variables - Linux man page
These procedures are used to create, modify, read, and delete Tcl variables from C code. Tcl_SetVar2Ex, Tcl_SetVar, Tcl_SetVar2, and Tcl_ObjSetVar2 will create

manpages/XShapeCombineRegion.3.html
XShapeCombineRegion(3) - X nonrectangular shape functions...
The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System. PREDEFINED VALUES Operations: ShapeSet ShapeUnion ShapeInterse

manpages/zshroadmap.1.html
zshroadmap(1) - informal introduction to the zsh manual.....
The Zsh Manual, like the shell itself, is large and often complicated. This section of the manual provides some pointers to areas of the shell that are likely..





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