XCreateRegion(3X11)XCreateRegion(3X11)NAME
XCreateRegion, XSetRegion, XDestroyRegion - create or destroy regions
SYNOPSIS
Region XCreateRegion()
XSetRegion(display, gc, r)
Display *display;
GC gc;
Region r;
XDestroyRegion(r)
Region r;
ARGUMENTS
Specifies the connection to the X server. Specifies the GC. Specifies the region.
DESCRIPTION
The XCreateRegion function creates a new empty region.
The XSetRegion function sets the clip-mask in the GC to the specified region. The region is specified relative to the drawable's origin.
The resulting GC clip origin is implementation dependent. Once it is set in the GC, the region can be destroyed.
The XDestroyRegion function deallocates the storage associated with a specified region.
SEE ALSO XEmptyRegion(3X11), XIntersectRegion(3X11)
Xlib -- C Language X Interface
XCreateRegion(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(Region r);
Bool XEqualRegion(Region r1, Region r2);
Bool XPointInRegion(Region r, int x, int y);
int XRectInRegion(Region r, int x, int y, unsigned int width, unsigned int 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
XFree86 Version 4.7.0 XEmptyRegion(3X11)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)