xcb_poly_rectangle(3)
β¨ xcb_poly_rectangle β¨
okay so bestie, welcome to xcb_poly_rectangle, straight out of the XCB Requests corner of your friendly neighbourhood manual pages π it's a lil X11 request function and it's here to draw rectangles, and honestly? she's simple, she's iconic, she's giving low-effort-high-reward π
πΈ NAME πΈ
xcb_poly_rectangle β
and that's it. that's the whole NAME section. literally just the function name and a lil dangling dash π no summary, no tagline, no nothing. the manpage said "I'm not gonna elaborate" and honestly? respect. periodt.
π¦ SYNOPSIS π¦
first thing's first, you gotta pull in the header, no cap:
#include <xcb/xproto.h>
π Request function π
here's the actual function signature, copy it exactly bestie, do not freestyle:
xcb_void_cookie_t xcb_poly_rectangle(xcb_connection_t *conn,
xcb_drawable_t drawable, xcb_gcontext_t gc,
uint32_t rectangles_len, const xcb_rectangle_t *rectangles);
π REQUEST ARGUMENTS π
okay so here's what you're feeding her:
connβ The XCB connection to X11. this is your link to the X server, your situationship with the display, iykyk πdrawableβTODO: NOT YET DOCUMENTED.yeah bestie, the docs are giving unfinished homework π not me reading a TODO in a real manpagegcβTODO: NOT YET DOCUMENTED.same energy, same void πrectangles_lenβTODO: NOT YET DOCUMENTED.the mystery continues πrectanglesβTODO: NOT YET DOCUMENTED.iconic of them to leave the whole point undocumented honestly
π§ DESCRIPTION π§
[crickets] π¦β¨
no fr, this section is empty in the original. blank. nada. zero. the vibe is immaculate and the information is nonexistent. we move π
π₯ RETURN VALUE π₯
she returns an xcb_void_cookie_t. and because it's a void cookie, any errors (if any) have to be handled in the event loop, okay? like, you don't get them handed to you directly, you gotta go look for them π«Ά
but wait β if you'd rather handle errors directly with xcb_request_check instead, use xcb_poly_rectangle_checked instead. slay, options. see xcb-requests(3) for the full details, bestie π
π ERRORS π
This request does never generate any errors.
not one. zero. none. she is unbothered, she is unproblematic, she is the moment β
π SEE ALSO π
[also crickets] π¦π¦
yeah this one's empty too. the manpage is out here serving minimalist realness and honestly? we stan a low-content queen π
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π
and that's the whole page bestie!! πΈ this absolute legend of a manpage came to you courtesy of X Version 11, libxcb 1.17.0, and yes, xcb_poly_rectangle(3) is fr fr the main character here π go draw some rectangles, you got this π«Άβ¨
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms