1XSetFillStyle(3)                XLIB FUNCTIONS                XSetFillStyle(3)
2
3
4

NAME

6       XSetFillStyle, XSetFillRule - GC convenience routines
7

SYNTAX

9       int XSetFillStyle(Display *display, GC gc, int fill_style);
10
11       int XSetFillRule(Display *display, GC gc, int fill_rule);
12

ARGUMENTS

14       display   Specifies the connection to the X server.
15
16       fill_rule Specifies the fill-rule you want to set for the specified GC.
17                 You can pass EvenOddRule or WindingRule.
18
19       fill_style
20                 Specifies the fill-style you want to set for the specified
21                 GC.  You can pass FillSolid, FillTiled, FillStippled, or Fil‐
22                 lOpaqueStippled.
23
24       gc        Specifies the GC.
25

DESCRIPTION

27       The XSetFillStyle function sets the fill-style in the specified GC.
28
29       XSetFillStyle can generate BadAlloc, BadGC, and BadValue errors.
30
31       The XSetFillRule function sets the fill-rule in the specified GC.
32
33       XSetFillRule can generate BadAlloc, BadGC, and BadValue errors.
34

DIAGNOSTICS

36       BadAlloc  The server failed to allocate the requested resource or
37                 server memory.
38
39       BadGC     A value for a GContext argument does not name a defined GCon‐
40                 text.
41
42       BadValue  Some numeric value falls outside the range of values accepted
43                 by the request.  Unless a specific range is specified for an
44                 argument, the full range defined by the argument's type is
45                 accepted.  Any argument defined as a set of alternatives can
46                 generate this error.
47

SEE ALSO

49       XCreateGC(3), XQueryBestSize(3), XSetArcMode(3), XSetClipOrigin(3),
50       XSetFont(3), XSetLineAttributes(3), XSetState(3), XSetTile(3)
51       Xlib - C Language X Interface
52
53
54
55X Version 11                     libX11 1.6.5                 XSetFillStyle(3)
Impressum