XSetTile() XSetTile()
Name
XSetTile - set the fill tile in a graphics context.
Synopsis
XSetTile(display, gc, tile)
Display *display;
GC gc;
Pixmap tile;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
gc Specifies the graphics context.
tile Specifies the desired tile for the specified graphics context.
Description
XSetTile() sets the tile member of the GC. This member of the GC determines the pixmap used to tile areas. The tile must have the same
depth as the destination drawable. This tile will only be used in drawing if the fill_style is FillTiled.
For more information, see Volume One, Chapter 5, The Graphics Context.
Errors
BadAlloc
BadGC
BadMatch
BadPixmap
See Also
XCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmapData(), XFreePixmap(), XQueryBestSize(), XQueryBestStipple(), XQueryBest-
Tile(), XReadBitmapFile(), XSetWindowBackgroundPixmap(), XSetWindowBorderPixmap(), XWriteBitmapFile().
Xlib - Pixmaps and Tiles XSetTile()