xcb_render_create_linear_gradient -
#include <xcb/render.h>
xcb_void_cookie_t
xcb_render_create_linear_gradient(xcb_connection_t *conn,
xcb_render_picture_t picture,
xcb_render_pointfix_t p1,
xcb_render_pointfix_t p2, uint32_t num_stops,
const xcb_render_fixed_t *stops, const
xcb_render_color_t *colors);
- conn
- The XCB connection to X11.
- picture
- TODO: NOT YET DOCUMENTED.
- p1
- TODO: NOT YET DOCUMENTED.
- p2
- TODO: NOT YET DOCUMENTED.
- num_stops
- TODO: NOT YET DOCUMENTED.
- stops
- TODO: NOT YET DOCUMENTED.
- colors
- TODO: NOT YET DOCUMENTED.
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_render_create_linear_gradient_checked. See xcb-requests(3)
for details.
This request does never generate any errors.
Generated from render.xml. Contact xcb@lists.freedesktop.org for corrections and
improvements.