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/munlockall.2.html
munlockall(2) - lock and unlock memory - Linux manual page
mlock() and mlockall() respectively lock part or all of the calling processs virtual address space into RAM, preventing that memory from being paged to the swap
manpages/lp.4.html
lp(4) - line printer devices (Special - Linux man page).....
The following ioctl(2) calls are supported: int ioctl(int fd, LPTIME, int arg) Sets the amount of time that the driver sleeps before rechecking the printer when
manpages/XmbufDisplayBuffers.3.html
XmbufDisplayBuffers(3) - X multibuffering functions.........
The application programming library for the X11 Double-Buffering, Multi-Buffering, and Stereo Extension contains the interfaces described below. With the except
manpages/quilt.1.html
quilt(1) - tool to manage series of patches - Linux man page
Quilt is a tool to manage large sets of patches by keeping track of the changes each patch makes. Patches can be applied, un-applied, refreshed, etc. The key ph
manpages/arm_fadvise.2.html
arm_fadvise(2) - predeclare an access pattern for file data
Programs can use posix_fadvise() to announce an intention to access file data in a specific pattern in the future, thus allowing the kernel to perform appropria
manpages/podofocrop.1.html
podofocrop(1) crop all pages (Commands - Linux man page)....
podofocrop is one of the command line tools from the PoDoFo library that provide several useful operations to work with PDF files. It can crop all pages in a PD
manpages/curl_version_info.3.html
curl_version_info(3) - returns run-time libcurl version info
Returns a pointer to a filled in struct with information about various run-time features in libcurl. type should be set to the version of this functionality by
manpages/isascii.3.html
isascii(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T
manpages/Tcl_SetMainLoop.3.html
Tcl_SetMainLoop(3) - main program and event loop definition
Tcl_Main can serve as the main program for Tcl-based shell applications. A shell application is a program like tclsh or wish that supports both interactive inte
manpages/gnutls_x509_crt_list_import_pkcs11.3.html
gnutls_x509_crt_list_import_pkcs11(3) - API function........
This function will import a PKCS 11 certificate list to a list of gnutls_x509_crt_t structure. These must not be initialized. RETURNS On success, GNUTLS_E_SUCCE
manpages/dup2.2.html
dup2(2) - duplicate a file descriptor - Linux manual page...
These system calls create a copy of the file descriptor oldfd. dup() uses the lowest-numbered unused descriptor for the new descriptor. dup2() makes newfd be th
manpages/xdr_vector.3.html
xdr_vector(3) - library routines for external data represent
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
