Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xemptyregion(3x11) [osf1 man page]

XEmptyRegion(3X11)														XEmptyRegion(3X11)

NAME
XEmptyRegion, XEqualRegion, XPointInRegion, XRectInRegion - determine if regions are empty or equal SYNOPSIS
Bool XEmptyRegion(r) Region r; Bool XEqualRegion(r1, r2) Region r1, r2; Bool XPointInRegion(r, x, y) Region r; int x, y; int XRectInRegion(r, x, y, width, height) Region r; int x, y; unsigned int width, height; ARGUMENTS
Specifies the region. Specify the two regions. Specify the width and height, which define the rectangle. Specify the x and y coordi- nates, which define the point or the coordinates of the upper-left corner of the rectangle. DESCRIPTION
The XEmptyRegion function returns True if the region is empty. The XEqualRegion function returns True if the two regions have the same offset, size, and shape. The XPointInRegion function returns True if the point (x, y) is contained in the region r. The XRectInRegion function returns RectangleIn if the rectangle is entirely in the specified region, RectangleOut if the rectangle is entirely out of the specified region, and RectanglePart if the rectangle is partially in the specified region. SEE ALSO
XCreateRegion(3X11), XIntersectRegion(3X11) Xlib -- C Language X Interface XEmptyRegion(3X11)

Check Out this Related Man Page

XEmptyRegion(3X11)						  XLIB FUNCTIONS						XEmptyRegion(3X11)

NAME
XEmptyRegion, XEqualRegion, XPointInRegion, XRectInRegion - determine if regions are empty or equal SYNTAX
Bool XEmptyRegion(r) Region r; Bool XEqualRegion(r1, r2) Region r1, r2; Bool XPointInRegion(r, x, y) Region r; int x, y; int XRectInRegion(r, x, y, width, height) Region r; int x, y; unsigned int width, height; ARGUMENTS
r Specifies the region. r1 r2 Specify the two regions. width height Specify the width and height, which define the rectangle. or the coordinates of the upper-left corner of the rectangle x y Specify the x and y coordinates, which define the point. DESCRIPTION
The XEmptyRegion function returns True if the region is empty. The XEqualRegion function returns True if the two regions have the same offset, size, and shape. The XPointInRegion function returns True if the point (x, y) is contained in the region r. The XRectInRegion function returns RectangleIn if the rectangle is entirely in the specified region, RectangleOut if the rectangle is entirely out of the specified region, and RectanglePart if the rectangle is partially in the specified region. SEE ALSO
XCreateRegion(3X11), XIntersectRegion(3X11) Xlib - C Language X Interface X Version 11 Release 6.6 XEmptyRegion(3X11)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

INode

hi i am nitin... jus a new kid on the block... my query is... does the concept of region invovle sharin of inodes wen the sticky it is set... eg... if two process share two text regions... wat actually happens thank u (1 Reply)
Discussion started by: nitinsharma_ssn
1 Replies

2. Shell Programming and Scripting

shell script

hi, Can any body pls tell the what the following second statement does. region="$(dirname $1)" mixedregion="$(echo ${region%${region#?}} | tr ']' ']')\ $(echo ${region#?} | tr ']' ']')" cheers RRK (3 Replies)
Discussion started by: ravi raj kumar
3 Replies

3. UNIX for Advanced & Expert Users

Best practice - determining what region you are on

Hello all, I have a question about what you think the best practice is to determine what region you are running on when you have a system setup with a DEV/TEST, QA, and PROD regions running the same scripts in all. So, when you run in DEV, you have a different directory structure, and you... (4 Replies)
Discussion started by: Rediranch
4 Replies