---
name: "xcb_poly_point"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_poly_point"
---

# xcb\_poly\_point(3)

## NAME

xcb\_poly\_point -

## SYNOPSIS

**#include \<xcb/xproto.h\>**

### Request function

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

## REQUEST ARGUMENTS

- *conn*

  The XCB connection to X11.

- *coordinate\_mode*

  One of the following values:

  - *XCB\_COORD\_MODE\_ORIGIN*

    Treats all coordinates as relative to the origin.

  - *XCB\_COORD\_MODE\_PREVIOUS*

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

  TODO: NOT YET DOCUMENTED.

- *drawable*

  TODO: NOT YET DOCUMENTED.

- *gc*

  TODO: NOT YET DOCUMENTED.

- *points\_len*

  TODO: NOT YET DOCUMENTED.

- *points*

  TODO: NOT YET DOCUMENTED.

## DESCRIPTION

## 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\_poly\_point\_checked*. See **[xcb-requests(3)](/xcb-requests/3.md)** for details.

## ERRORS

This request does never generate any errors.

## SEE ALSO

## AUTHOR

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