XSetTile()XSetTile()NameXSetTile – 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 XOpenDis‐
play().
gc Specifies the graphics context.
tile Specifies the desired tile for the specified graphics context.
DescriptionXSetTile() 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 AlsoXCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmap‐
Data(), XFreePixmap(), XQueryBestSize(), XQueryBestStipple(),
XQueryBestTile(), XReadBitmapFile(), XSetWindowBackgroundPixmap(),
XSetWindowBorderPixmap(), XWriteBitmapFile().
Xlib - Pixmaps and Tiles XSetTile()