XSetFillStyle(3X) — X Version 11
NAME
XSetFillStyle, XSetFillRule − GC convience routines
SYNTAX
XSetFillStyle(display, gc, fill_style)
Display ∗display;
GC gc;
int fill_style;
XSetFillRule(display, gc, fill_rule)
Display ∗display;
GC gc;
int fill_rule;
ARGUMENTS
displaySpecifies the connection to the X server.
fill_ruleSpecifies the fill rule you want to set for the specified graphics context. You can pass one of these constants: EvenOddRule or WindingRule.
fill_styleSpecifies the fill style you want to set for the specified graphics context. Possible values are FillSolid, FillTiled, FillStippled, or FillOpaqueStippled.
gcSpecifies the graphics context.
DESCRIPTION
The XSetFillStyle function sets the fill style in the specified graphics context. .PN XSetFillStyle can generate BadGC and BadValue errors.
The XSetFillRule function sets the fill rule in the specified graphics context. .PN XSetFillRule 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), XSetArcMode(3X), XSetClipOrigin(3X), XSetFont(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X)
Xlib − C Language X Interface
1 March 1988