Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XSetTile − set the fill tile in a graphics context. 

Synopsis

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

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

gcSpecifies the graphics context. 

tileSpecifies 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(), XQueryBestTile(), XReadBitmapFile(), XSetWindowBackgroundPixmap(), XSetWindowBorderPixmap(), XWriteBitmapFile(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026