XEmptyRegion(3)



XEmptyRegion

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

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.

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



More Linux Commands

manpages/krb5-config.1.html
krb5-config(1) - tool for linking against MIT Kerberos libra
krb5-config tells the application programmer what special flags to use to compile and link programs against the installed Kerberos libraries. OPTIONS --help pri

manpages/csh.1.html
csh(1) - C shell with file name completion and command line
tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh(1). It is a command language interpreter usable both as an interactive l

manpages/XPeekEvent.3.html
XPeekEvent(3) - select events by type - Linux manual page...
The XNextEvent function copies the first event from the event queue into the specified XEvent structure and then removes it from the queue. If the event queue i

manpages/cron.8.html
cron(8) - daemon to execute scheduled commands (Man Page)...
Cron is started from /etc/rc.d/init.d or /etc/init.d when classical sysvinit scripts are used. In case systemd is enabled, then unit file is installed into /lib

manpages/getwin.3x.lc.html
getwin.3x(lc) miscellaneous curses utility routines.........
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

manpages/setfsgid.2.html
setfsgid(2) - set group identity used for file system checks
The system call setfsgid() changes the value of the callers filesystem group ID-the group ID that the Linux kernel uses to check for all accesses to the filesys

manpages/xtrapout.1x.html
xtrapout(1x) - XTrap sample clients - Linux manual page.....
These commands are SAMPLE CLIENTS provided with the XTrap X Server Extension Sources, Version 3.3. XTrap is an X Server extension which facilitates the capturin

manpages/tst.3.html
tst(3) - ternary search trie functions - Linux manual page
tst_init allocates memory for members of struct tst, and allocates the first node_line_width nodes. A NULL pointer is returned by tst_init if any part of the me

manpages/pam_ck_connector.8.html
pam_ck_connector(8) - Register session with ConsoleKit......
The pam_ck_connector PAM module registers a login session with the system-wide ConsoleKit daemon. This PAM module should be used with caution; only local login

manpages/glutSetWindowTitle.3.html
glutSetWindowTitle(3) - change the window or icon title resp
These routines should be called only when the current window is a top-level window. Upon creation of a top-level window, the window and icon names are determine

manpages/gnutls_pkcs12_bag_set_key_id.3.html
gnutls_pkcs12_bag_set_key_id(3) - API function (Man Page)...
This function will add the given key ID, to the specified, by the index, bag element. The key ID will be encoded as a Local key identifier bag attribute, which

manpages/echo_sp.3ncurses.html
echo_sp(3ncurses) - curses screen-pointer extension.........
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th





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