XEmptyRegion(3X11) MIT X11R4 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.
x
y Specify the x and y coordinates, which define the point or the coordinates of the upper-left corner of the rectangle.
Description
The function returns if the region is empty.
The function returns if the two regions have the same offset, size, and shape.
The function returns if the point (x, y) is contained in the region r.
The function returns if the rectangle is entirely in the specified region, if the rectangle is entirely out of the specified region, and if
the rectangle is partially in the specified region.
See AlsoXCreateRegion(3X11), XIntersectRegion(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
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)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)