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

NAME

6       XSetTile, XSetStipple, XSetTSOrigin - GC convenience routines
7

SYNTAX

9       int XSetTile(Display *display, GC gc, Pixmap tile);
10
11       int XSetStipple(Display *display, GC gc, Pixmap stipple);
12
13       int XSetTSOrigin(Display *display, GC gc, int ts_x_origin, int
14              ts_y_origin);
15

ARGUMENTS

17       display   Specifies the connection to the X server.
18
19       gc        Specifies the GC.
20
21       stipple   Specifies the stipple you want to set for the specified GC.
22
23       tile      Specifies the fill tile you want to set for the specified GC.
24
25       ts_x_origin
26       ts_y_origin
27                 Specify the x and y coordinates of the tile and stipple ori‐
28                 gin.
29

DESCRIPTION

31       The XSetTile function sets the fill tile in the specified GC.  The tile
32       and GC must have the same depth, or a BadMatch error results.
33
34       XSetTile can generate BadAlloc, BadGC, BadMatch, and BadPixmap errors.
35
36       The XSetStipple function sets the stipple in the specified GC.  The
37       stipple must have a depth of one, or a BadMatch error results.
38
39       XSetStipple can generate BadAlloc, BadGC, BadMatch, and BadPixmap
40       errors.
41
42       The XSetTSOrigin function sets the tile/stipple origin in the specified
43       GC.  When graphics requests call for tiling or stippling, the parent's
44       origin will be interpreted relative to whatever destination drawable is
45       specified in the graphics request.
46
47       XSetTSOrigin can generate BadAlloc and BadGC errors.
48

DIAGNOSTICS

50       BadAlloc  The server failed to allocate the requested resource or
51                 server memory.
52
53       BadGC     A value for a GContext argument does not name a defined GCon‐
54                 text.
55
56       BadMatch  Some argument or pair of arguments has the correct type and
57                 range but fails to match in some other way required by the
58                 request.
59
60       BadPixmap A value for a Pixmap argument does not name a defined Pixmap.
61

SEE ALSO

63       XCreateGC(3), XQueryBestSize(3), XSetArcMode(3), XSetClipOrigin(3),
64       XSetFillStyle(3), XSetFont(3), XSetLineAttributes(3), XSetState(3)
65       Xlib - C Language X Interface
66
67
68
69X Version 11                     libX11 1.3.4                      XSetTile(3)
Impressum