1xcb_poly_fill_rectangle(3)       XCB Requests       xcb_poly_fill_rectangle(3)
2
3
4

NAME

6       xcb_poly_fill_rectangle - Fills rectangles
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_poly_fill_rectangle(xcb_connection_t *conn,
13              xcb_drawable_t drawable, xcb_gcontext_t gc,
14              uint32_t rectangles_len, const xcb_rectangle_t *rectangles);
15

REQUEST ARGUMENTS

17       conn      The XCB connection to X11.
18
19       drawable  The drawable (Window or Pixmap) to draw on.
20
21       gc        The graphics context to use.
22
23                 The following graphics context components are used: function,
24                 plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-
25                 y-origin, and clip-mask.
26
27                 The following graphics context mode-dependent components are
28                 used: foreground, background, tile, stipple, tile-stipple-x-
29                 origin, and tile-stipple-y-origin.
30
31       rectangles_len
32                 The number of xcb_rectangle_t structures in rectangles.
33
34       rectangles
35                 The rectangles to fill.
36

DESCRIPTION

38       Fills the specified rectangle(s) in the order listed in the array. For
39       any given rectangle, each pixel is not drawn more than once. If rectan‐
40       gles intersect, the intersecting pixels are drawn multiple times.
41

RETURN VALUE

43       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
44       event loop.
45
46       If you want to handle errors directly with xcb_request_check instead,
47       use xcb_poly_fill_rectangle_checked. See xcb-requests(3) for details.
48

ERRORS

50       xcb_drawable_error_t
51                 The specified drawable (Window or Pixmap) does not exist.
52
53       xcb_g_context_error_t
54                 The specified graphics context does not exist.
55
56       xcb_match_error_t
57                 TODO: reasons?
58

SEE ALSO

60       xcb-requests(3)
61

AUTHOR

63       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
64       rections and improvements.
65
66
67
68X Version 11                      libxcb 1.12       xcb_poly_fill_rectangle(3)
Impressum