Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSetTSOrigin(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCreateGC(3X)

XQueryBestSize(3X)

XSetArcMode(3X)

XSetClipOrigin(3X)

XSetFillStyle(3X)

XSetFont(3X)

XSetLineAttributes(3X)

XSetState(3X)




XSetTile(3X) XSetTile(3X)
NAME XSetTile, XSetStipple, XSetTSOrigin - set the fill tile, tile origin, stipple, and stipple origin in the graphic context SYNOPSIS 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; DESCRIPTION The XSetTile function sets the fill tile in the specified graphic context. The tile and graphic context must have the same depth, or a BadMatch error results. The XSetStipple function sets the stipple in the specified graphic context. The stipple and graphic context must have the same depth, or a BadMatch error results. The XSetTSOrigin function sets the tile or stipple origin in the specified graphic context. When graphics requests call for tiling or stippling, the parent's origin is intrepreted relative to the destination drawable that is specified in the graphics request. Arguments These functions accept the following arguments: display Specifies the connection to the X server. gc Specifies the graphic context. stipple Specifies the stipple you want to set for the speci- fied graphic context. tile Specifies the fill tile you want to set for the specified graphic context. ts-x-origin, ts-y-origin Specify the x and y coordinates of the tile or stip- ple November, 1990 1



XSetTile(3X) XSetTile(3X)
origin. ERRORS BadAlloc The server failed to allocate the requested resource or server memory. BadGC A value for a GC argument does not name a defined graphic context. BadMatch An argument or pair of arguments has the correct type and range, but fails to match in some other re- quired way. BadPixmap A value for a Pixmap argument does not name a de- fined pixel map. The XSetTile and XSetStipple functions can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors. The XSetTSOrigin function can generate a BadGC error. SEE ALSO XCreateGC(3X), XQueryBestSize(3X), XSetArcMode(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X)
Xlib - C Language Interface
2 November, 1990

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