NAME
xcbpolyfillrectangle - Fills rectangles SYNOPSIS
#include
Request function xcbvoidcookiet xcbpolyfillrectangle(xcbconnectiont *conn, xcbdrawablet drawable, xcbgcontextt gc, uint32t rectangleslen, const xcbrectanglet *rectangles); REQUEST ARGUMENTS conn The XCB connection to X11. drawable The drawable (Window or Pixmap) to draw on. gc The graphics context to use. The following graphics context components are used: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-
y-origin, and clip-mask.
The following graphics context mode-dependent components are
used: foreground, background, tile, stipple, tile-stipple-x-
origin, and tile-stipple-y-origin. rectangleslen The number of xcbrectanglet structures in rectangles. rectangles The rectangles to fill. DESCRIPTION Fills the specified rectangle(s) in the order listed in the array. For any given rectangle, each pixel is not drawn more than once. If rectan‐ gles intersect, the intersecting pixels are drawn multiple times. RETURN VALUE Returns an xcbvoidcookiet. Errors (if any) have to be handled in the event loop. If you want to handle errors directly with xcbrequestcheck instead,
use xcbpolyfillrectanglechecked. See xcb-requests(3) for details. ERRORS xcbdrawableerrort The specified drawable (Window or Pixmap) does not exist. xcbgcontexterrort The specified graphics context does not exist. xcbmatcherrort TODO: reasons? SEE ALSO
xcb-requests(3) AUTHOR Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐ rections and improvements. X Version 11 libxcb 1.13 xcbpolyfillrectangle(3)