XSetArcMode(3X) — X Version 11
NAME
XSetArcMode, XSetSubwindowMode, XSetGraphicsExposure − GC convience routines
SYNTAX
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;
ARGUMENTS
arc_modeSpecifies the arc mode: ArcChord specifies that arcs will be chord filled, while ArcPieSlice specifies that arcs will be pie slice filled.
displaySpecifies the connection to the X server.
gcSpecifies the graphics context.
graphics_exposures
Specifies whether you want GraphicsExpose events to be reported when calling XCopyArea and XCopyPlane with this graphics context. If True, GraphicsExpose events are reported. If False, GraphicsExpose events are not reported.
subwindow_mode
Specifies the subwindow mode: ClipByChildren clips source and destination by all viewable children, while IncludeInferiors draws through all subwindows, that is, does not clip by inferiors.
DESCRIPTION
The XSetArcMode function sets the arc mode in the specified graphics context. .PN XSetArcMode can generate BadGC and BadValue errors.
The XSetSubwindowMode function sets the subwindow mode in the specified graphics context. .PN XSetSubwindowMode can generate BadGC and BadValue errors.
The XSetGraphicsExposures function sets the graphics-exposures flag in the specified graphics context. .PN XSetGraphicsExposures can generate BadGC and BadValue errors.
DIAGNOSTICS
BadGC A value for a GContext argument does not name a defined GContext.
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified 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.
SEE ALSO
XCreateGC(3X), XQueryBestSize(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X)
Xlib − C Language X Interface
1 March 1988