Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSetArcMode(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCopyArea(3X)

XCreateGC(3X)

XQueryBestSize(3X)

XSetClipOrigin(3X)

XSetFillStyle(3X)

XSetFont(3X)

XSetLineAttributes(3X)

XSetState(3X)

XSetTile(3X)




XSetArcMode(3X) XSetArcMode(3X)
NAME XSetArcMode, XSetSubwindowMode, XSetGraphicsExposure - set the arc mode, subwindow mode, and the graphics exposures flag in the graphic context SYNOPSIS XSetArcMode (display, gc, arc-mode) Display *display; GC gc; int arc-mode; XSetSubwindowMode (display, gc, subwindow-mode) Display *display; GC gc; int subwindow-mode; XSetGraphicsExposures (display, gc, graphics-exposures) Display *display; GC gc; Boolean graphics-exposures; DESCRIPTION The XSetArcMode function sets the arc mode in the specified graphic context. The XSetSubwindowMode function sets the subwindow mode in the specified graphic context. The XSetGraphicsExposures function sets the graphics- exposures flag in the specified graphic context. Arguments These functions accept the following arguments: arc-mode Specifies the arc mode: ArcChord specifies that arcs are to be chord-filled, and ArcPieSlice speci- fies that arcs are to be pie-slice-filled. display Specifies the connection to the X server. gc Specifies the graphic context. November, 1990 1



XSetArcMode(3X) XSetArcMode(3X)
graphics-exposures Specifies whether GraphicsExpose events are to be reported when calling XCopyArea and XCopyPlane with this graphic context. If TRUE, GraphicsExpose events are reported. If FALSE, Gra- phicsExpose events are not reported. subwindow-mode Specifies the subwindow mode: ClipByChildren clips source and destination by all viewable children, and IncludeInferiors draws through all subwindows, that is, does not clip by inferiors. 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 argument's type is accepted. Any argument defined as a set of alternatives can generate this error. The XSetArcMode, XSetSubwindowMode, and XSetGraphicsExposures functions can generate BadAlloc, BadGC, and BadValue errors. SEE ALSO XCopyArea(3X), XCreateGC(3X), XQueryBestSize(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X)
Xlib - C Language Interface
2 November, 1990

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