XCreateRegion(3)



XCreateRegion

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XCreateRegion, XSetRegion, XDestroyRegion − create or destroy regions

SYNTAX

Region XCreateRegion(void);

int XSetRegion(Display *display, GC gc, Region r);

int XDestroyRegion(Region r);

ARGUMENTS

display

Specifies the connection to the X server.

gc

Specifies the GC.

r

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(3), XIntersectRegion(3)
Xlib − C Language X Interface



More Linux Commands

manpages/Tcl_RegisterChannel.3.html
Tcl_RegisterChannel(3) - buffered I/O facilities using chann
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

manpages/curl_free.3.html
curl_free(3) - reclaim memory that has been obtained through
curl_free reclaims memory that has been obtained through a libcurl call. Use curl_free() instead of free() to avoid anomalies that can result from differences i

manpages/get_current_dir_name.3.html
get_current_dir_name(3) - Get current working directory.....
These functions return a null-terminated string containing an absolute pathname that is the current working directory of the calling process. The pathname is re

manpages/DisplayPlanes.3.html
DisplayPlanes(3) - Display macros and functions (Man Page)
The AllPlanes macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The BlackPixel macro returns the black pixel val

manpages/Tcl_ConvertToType.3.html
Tcl_ConvertToType(3) - manipulate Tcl object types (ManPage)
The procedures in this man page manage Tcl object types. They are used to register new object types, look up types, and force conversions from one type to anoth

manpages/getppid.2.html
getppid(2) - get process identification - Linux manual page
getpid() returns the process ID of the calling process. (This is often used by routines that generate unique temporary filenames.) getppid() returns the process

manpages/glVertex4fv.3gl.html
glVertex4fv(3gl) - specify a vertex - Linux manual page.....
glVertex commands are used within glBegin/glEnd pairs to specify point, line, and polygon vertices. The current color, normal, and texture coordinates are assoc

manpages/grub2-mkimage.1.html
grub2-mkimage(1) make a bootable image of GRUB (Man Page)...
Make a bootable image of GRUB. -c, --config=FILE embed FILE as an early config -C, --compression=(xz|none|auto) choose the compression to use for core image -d,

manpages/sched_yield.2.html
sched_yield(2) - yield the processor - Linux manual page....
sched_yield() causes the calling thread to relinquish the CPU. The thread is moved to the end of the queue for its static priority and a new thread gets to run.

manpages/ttk_treeview.n.html
ttk_treeview(n) hierarchical multicolumn data display widget
The ttk::treeview widget displays a hierarchical collection of items. Each item has a textual label, an optional image, and an optional list of data values. The

manpages/XML::Parser::Style::Tree.3pm.html
XML::Parser::Style::Tree(3pm) - (unknown subject) (ManPage)
This module implements XML::Parsers Tree style parser. When parsing a document, parse() will return a parse tree for the document. Each node in the tree takes t

manpages/plasmoidviewer.1.html
plasmoidviewer(1) - Run Plasma widgets in their own window
plasmoidviewer is a graphical tool allowing developers to test Plasma applets. Only installed applets will be found. kbuildsycoca4 may need to be run for newly-





We can't live, work or learn in freedom unless the software we use is free.