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

NAME

6       XSetArcMode, XSetSubwindowMode, XSetGraphicsExposure - GC convenience
7       routines
8

SYNTAX

10       int XSetArcMode(Display *display, GC gc, int arc_mode);
11
12       int XSetSubwindowMode(Display *display, GC gc, int subwindow_mode);
13
14       int XSetGraphicsExposures(Display *display, GC gc, Bool graphics_expo‐
15              sures);
16

ARGUMENTS

18       arc_mode  Specifies the arc mode.  You can pass ArcChord or ArcPieS‐
19                 lice.
20
21       display   Specifies the connection to the X server.
22
23       gc        Specifies the GC.
24
25       graphics_exposures
26                 Specifies a Boolean value that indicates whether you want
27                 GraphicsExpose and NoExpose events to be reported when call‐
28                 ing XCopyArea and XCopyPlane with this GC.
29
30       subwindow_mode
31                 Specifies the subwindow mode.  You can pass ClipByChildren or
32                 IncludeInferiors.
33

DESCRIPTION

35       The XSetArcMode function sets the arc mode in the specified GC.
36
37       XSetArcMode can generate BadAlloc, BadGC, and BadValue errors.
38
39       The XSetSubwindowMode function sets the subwindow mode in the specified
40       GC.
41
42       XSetSubwindowMode can generate BadAlloc, BadGC, and BadValue errors.
43
44       The XSetGraphicsExposures function sets the graphics-exposures flag in
45       the specified GC.
46
47       XSetGraphicsExposures can generate BadAlloc, BadGC, and BadValue
48       errors.
49

DIAGNOSTICS

51       BadAlloc  The server failed to allocate the requested resource or
52                 server memory.
53
54       BadGC     A value for a GContext argument does not name a defined GCon‐
55                 text.
56
57       BadValue  Some numeric value falls outside the range of values accepted
58                 by the request.  Unless a specific range is specified for an
59                 argument, the full range defined by the argument's type is
60                 accepted.  Any argument defined as a set of alternatives can
61                 generate this error.
62

SEE ALSO

64       XCopyArea(3), XCreateGC(3), XQueryBestSize(3), XSetClipOrigin(3), XSet‐
65       FillStyle(3), XSetFont(3), XSetLineAttributes(3), XSetState(3), XSet‐
66       Tile(3)
67       Xlib - C Language X Interface
68
69
70
71X Version 11                     libX11 1.6.5                   XSetArcMode(3)
Impressum