XSetTile(3X) — X Version 11
NAME
XSetTile, XSetStipple, XSetTSOrigin − GC convience routines
SYNTAX
XSetTile(display, gc, tile)
Display ∗display;
GC gc;
Pixmap tile;
XSetStipple(display, gc, stipple)
Display ∗display;
GC gc;
Pixmap stipple;
XSetTSOrigin(display, gc, ts_x_origin, ts_y_origin)
Display ∗display;
GC gc;
int ts_x_origin, ts_y_origin;
ARGUMENTS
displaySpecifies the connection to the X server.
gcSpecifies the graphics context.
stippleSpecifies the stipple you want to set for the specified graphics context.
tileSpecifies the fill tile you want to set for the specified graphics context.
ts_x_origin
ts_y_originSpecify the x and y coordinates of the tile or stipple origin.
DESCRIPTION
The XSetTile function sets the fill tile in the specified graphics context. .PN XSetTile can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors.
The XSetStipple function sets the stipple in the specified graphics context. .PN XSetStipple can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors.
The XSetTSOrigin function sets the tile/stipple origin in the specified graphics context. .PN XSetTSOrigin can generate a BadGC error.
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(3X), XQueryBestSize(3X), XSetArcMode(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X)
Xlib − C Language X Interface
1 March 1988