xcb_render_create_linear_gradient -
Contents
Description
Errors
This request does never generate any errors.
Name
xcb_render_create_linear_gradient -
Request Arguments
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.
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_render_create_linear_gradi‐ent_checked. See xcb-requests(3) for details.
See Also
Synopsis
#include<xcb/render.h>Requestfunction
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);
