Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xcreateregion(3x11) [osf1 man page]

XCreateRegion(3X11)													       XCreateRegion(3X11)

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)														XEmptyRegion(3X11)

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)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

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)
Discussion started by: gull04
3 Replies