xcb\_fill\_poly(3) XCB Requests xcb\_fill\_poly(3)

# [NAME](#NAME)

xcb\_fill\_poly -

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/xproto.h&gt;**

## [Request function](#Request_function)

xcb\_void\_cookie\_t **xcb\_fill\_poly**(xcb\_connection\_t \**conn*, xcb\_drawable\_t *drawable*, xcb\_gcontext\_t *gc*, uint8\_t *shape*, uint8\_t *coordinate\_mode*, uint32\_t *points\_len*, const xcb\_point\_t \**points*);

# [REQUEST ARGUMENTS](#REQUEST_ARGUMENTS)

[*conn*](#conn)

The XCB connection to X11.

[*drawable*](#drawable)

TODO: NOT YET DOCUMENTED.

[*gc*](#gc)

TODO: NOT YET DOCUMENTED.

[*shape*](#shape)

One of the following values:

[*XCB\_POLY\_SHAPE\_COMPLEX*](#XCB_POLY_SHAPE_COMPLEX)

TODO: NOT YET DOCUMENTED.

[*XCB\_POLY\_SHAPE\_NONCONVEX*](#XCB_POLY_SHAPE_NONCONVEX)

TODO: NOT YET DOCUMENTED.

[*XCB\_POLY\_SHAPE\_CONVEX*](#XCB_POLY_SHAPE_CONVEX)

TODO: NOT YET DOCUMENTED.

TODO: NOT YET DOCUMENTED.

[*coordinate\_mode*](#coordinate_mode)

One of the following values:

[*XCB\_COORD\_MODE\_ORIGIN*](#XCB_COORD_MODE_ORIGIN)

Treats all coordinates as relative to the origin.

[*XCB\_COORD\_MODE\_PREVIOUS*](#XCB_COORD_MODE_PREVIOUS)

Treats all coordinates after the first as relative to the previous coordinate.

TODO: NOT YET DOCUMENTED.

[*points\_len*](#points_len)

TODO: NOT YET DOCUMENTED.

[*points*](#points)

TODO: NOT YET DOCUMENTED.

# [DESCRIPTION](#DESCRIPTION)

# [RETURN VALUE](#RETURN_VALUE)

Returns an *xcb\_void\_cookie\_t*. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with *xcb\_request\_check* instead, use *xcb\_fill\_poly\_checked*. See [**xcb-requests(3)**](/man/os/libxcb/xcb-requests.3) for details.

# [ERRORS](#ERRORS)

This request does never generate any errors.

# [SEE ALSO](#SEE_ALSO)

# [AUTHOR](#AUTHOR)

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

libxcb 1.17.0 X Version 11

---

Document: xcb_fill_poly(3) from libxcb 1.17.0-r19 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
