XSetTile
NAMESYNTAX
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/perlnetware.1.html
perlnetware(1) - Perl for NetWare - Linux manual page.......
This file gives instructions for building Perl 5.7 and above, and also Perl modules for NetWare. Before you start, you may want to read the README file found in
manpages/Tk_NameToWindow.3.html
Tk_NameToWindow(3) - convert between names and window tokens
Each window managed by Tk has two names, a short name that identifies a window among children of the same parent, and a path name that identifies the window uni
manpages/XkbKeyNumActions.3.html
XkbKeyNumActions(3) - Computes the number of actions associa
XkbKeyNumActions.3 - A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action ass
manpages/tkill.2.html
tkill(2) - send a signal to a thread - Linux manual page....
tgkill() sends the signal sig to the thread with the thread ID tid in the thread group tgid. (By contrast, kill(2) can be used to send a signal only to a proces
manpages/kdesu-4.1.html
kdesu-4(1) Runs a program with elevated privileges..........
KDE su is a graphical front end for the UNIX(R)su command for the K Desktop Environment. It allows you to run a program as different user by supplying the passw
manpages/Tk_PhotoGetImage.3.html
Tk_PhotoGetImage(3) - manipulate the image data stored in a
Tk_FindPhoto returns an opaque handle that is used to identify a particular photo image to the other procedures. The parameter is the name of the image, that is
manpages/mvget_wstr.3ncurses.html
mvget_wstr(3ncurses) - get an array of wide characters from
The effect of get_wstr is as though a series of calls to get_wch were made, until a newline, other end-of-line, or end-of-file condition is processed. An end-of
manpages/read_all_mibs.3.html
read_all_mibs(3) - netsnmp_mib_api functions (Man Page).....
The functions dealing with MIB modules fall into four groups - those dealing with initialisation and shutdown, with reading in and parsing MIB files, with searc
manpages/zshoptions.1.html
zshoptions(1) - zsh options (Commands - Linux man page).....
Options are primarily referred to by name. These names are case insensitive and underscores are ignored. For example, allexport is equivalent to ...............
manpages/SDL_FreeSurface.3.html
SDL_FreeSurface(3) - Frees (deletes) a SDL_Surface (ManPage)
Frees the resources used by a previously created SDL_Surface. If the surface was created using SDL_CreateRGBSurfaceFrom then the pixel data is not freed. SEE AL
manpages/cbc_crypt.3.html
cbc_crypt(3) - fast DES encryption - Linux manual page......
ecb_crypt() and cbc_crypt() implement the NBS DES (Data Encryption Standard). These routines are faster and more general purpose than crypt(3). They also are ab
manpages/gnutls_pkcs7_get_crt_count.3.html
gnutls_pkcs7_get_crt_count(3) - API function (Man Page).....
This function will return the number of certifcates in the PKCS7 or RFC2630 certificate set. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a n
