xcb_fill_poly - Man Page

Synopsis

#include <xcb/xproto.h>

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

conn

The XCB connection to X11.

drawable

TODO: NOT YET DOCUMENTED.

gc

TODO: NOT YET DOCUMENTED.

shape

One of the following values:

XCB_POLY_SHAPE_COMPLEX

TODO: NOT YET DOCUMENTED.

XCB_POLY_SHAPE_NONCONVEX

TODO: NOT YET DOCUMENTED.

XCB_POLY_SHAPE_CONVEX

TODO: NOT YET DOCUMENTED.

TODO: NOT YET DOCUMENTED.

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.

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_fill_poly_checked. See xcb-requests(3) 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.

Referenced By

The man page xcb_fill_poly_checked(3) is an alias of xcb_fill_poly(3).

libxcb 1.16.1 X Version 11 XCB Requests