Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSetFillRule(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCreateGC(3X)

XQueryBestSize(3X)

XSetArcMode(3X)

XSetClipOrigin(3X)

XSetFont(3X)

XSetLineAttributes(3X)

XSetState(3X)

XSetTile(3X)




XSetFillStyle(3X) XSetFillStyle(3X)
NAME XSetFillStyle, XSetFillRule - set the fill style and fill rule in the graphic context SYNOPSIS XSetFillStyle (display, gc, fill-style) Display *display; GC gc; int fill-style; XSetFillRule (display, gc, fill-rule) Display *display; GC gc; int fill-rule; DESCRIPTION The XSetFillStyle function sets the fill style in the speci- fied graphic context. The XSetFillRule function sets the fill rule in the speci- fied graphic context. Arguments These functions accept the following arguments: display Specifies the connection to the X server. fill-rule Specifies the fill rule to be set for the specified graphic context. You can pass one of these con- stants: EvenOddRule or WindingRule. fill-style Specifies the fill style to be set for the specified graphic context. Possible values are FillSolid, FillTiled, FillStippled, or FillOpaqueStippled. gc Specifies the graphic context. 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. BadValue A numeric value falls outside the range of values accepted by the request. Unless a range is speci- fied for an argument, the full range defined by the November, 1990 1



XSetFillStyle(3X) XSetFillStyle(3X)
argument's type is accepted. Any argument defined as a set of alternatives can generate this error. The XSetFillStyle and XSetFillRule functions can generate BadAlloc, BadGC, and BadValue errors. SEE ALSO XCreateGC(3X), XQueryBestSize(3X), XSetArcMode(3X), XSetClipOrigin(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X),
Xlib - C Language Interface
2 November, 1990

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