XSetStipple(3)



XSetTile

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

NAME

XSetTile, XSetStipple, XSetTSOrigin − GC convenience routines

SYNTAX

int XSetTile(Display *display, GC gc, Pixmap tile);

int XSetStipple(Display *display, GC gc, Pixmap stipple);

int XSetTSOrigin(Display *display, GC gc, int ts_x_origin, int ts_y_origin);

ARGUMENTS

display

Specifies the connection to the X server.

gc

Specifies the GC.

stipple

Specifies the stipple you want to set for the specified GC.

tile

Specifies the fill tile you want to set for the specified GC.

ts_x_origin
ts_y_origin

Specify the x and y coordinates of the tile and stipple origin.

DESCRIPTION

The XSetTile function sets the fill tile in the specified GC. The tile and GC must have the same depth, or a BadMatch error results.

XSetTile can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors.

The XSetStipple function sets the stipple in the specified GC. The stipple must have a depth of one, or a BadMatch error results.

XSetStipple can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors.

The XSetTSOrigin function sets the tile/stipple origin in the specified GC. When graphics requests call for tiling or stippling, the parent’s origin will be interpreted relative to whatever destination drawable is specified in the graphics request.

XSetTSOrigin can generate BadAlloc and BadGC errors.

DIAGNOSTICS

BadAlloc

The server failed to allocate the requested resource or server memory.

BadGC

A value for a GContext argument does not name a defined GContext.

BadMatch

Some argument or pair of arguments has the correct type and range but fails to match in some other way required by the request.

BadPixmap

A value for a Pixmap argument does not name a defined Pixmap.

SEE ALSO

XCreateGC(3), XQueryBestSize(3), XSetArcMode(3), XSetClipOrigin(3), XSetFillStyle(3), XSetFont(3), XSetLineAttributes(3), XSetState(3)
Xlib − C Language X Interface



More Linux Commands

manpages/tk_patchLevel.n.html
tk_patchLevel(n) Variables used or set by Tk _______________
The following Tcl variables are either set or used by Tk at various times in its execution: tk_library This variable holds the file name for a directory contain

manpages/gnutls_pubkey_import_privkey.3.html
gnutls_pubkey_import_privkey(3) - API function (Man Page)...
Imports the public key from a private. This function will import the given public key to the abstract gnutls_pubkey_t structure. RETURNS On success, GNUTLS_E_SU

manpages/isalnum_l.3.html
isalnum_l(3) character classification functions (Man Page)
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/pthread_attr_setinheritsched.3.html
pthread_attr_setinheritsched(3) - set/get inherit scheduler
The pthread_attr_setinheritsched() function sets the inherit-scheduler attribute of the thread attributes object referred to by attr to the value specified in i

manpages/XkbAllocGeometry.3.html
XkbAllocGeometry(3) - Allocate an entire geometry (ManPage)
XkbAllocGeometry.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keybo

manpages/gnutls_x509_crl_get_version.3.html
gnutls_x509_crl_get_version(3) - API function (Man Page)....
This function will return the version of the specified CRL. RETURNS The version number, or a negative error code on error. REPORTING BUGS Report bugs to <bug-gn

manpages/rexec_af.3.html
rexec_af(3) return stream to a remote command (Man Page)....
This interface is obsoleted by rcmd(3). The rexec() function looks up the host *ahost using gethostbyname(3), returning -1 if the host does not exist. Otherwise

manpages/Tcl_Realloc.3.html
Tcl_Realloc(3) - allocate or free heap memory (Man Page)....
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between

manpages/jn.3.html
jn(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o

manpages/__freadable.3.html
__freadable(3) - interfaces to stdio FILE structure.........
Solaris introduced routines to allow portable access to the internals of the FILE structure, and glibc also implemented these. The __fbufsize() function returns

manpages/ldap_memory.3.html
ldap_memory(3) - LDAP memory allocation routines (Man Page)
These routines are used to allocate/deallocate memory used/returned by the LDAP library. ldap_memalloc(), ldap_memcalloc(), ldap_memrealloc(), and ldap_memfree(

manpages/conjf.3.html
conjf(3) - calculate the complex conjugate - Linux man page
The conj() function returns the complex conjugate value of z. That is the value obtained by changing the sign of the imaginary part. One has: cabs(z) = csqrt(z





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