xcb_render_fill_rectangles(3)
xcb_render_fill_rectangles π
okay bestie, so this one is a page from the XCB Requests corner of the libxcb universe β¨ (XCB = X protocol C-language Binding, and she's serving real ones, fr fr).
πΈ NAME πΈ
xcb_render_fill_rectangles β and thenβ¦ nothing?? π The description field on this one is literally empty. Not me getting a whole NAME section with the dash and no words after it. It's giving mystery. It's giving "the docs said π". We move anyway π
π SYNOPSIS π
β¨ Request function β¨
#include <xcb/render.h>
xcb_void_cookie_t xcb_render_fill_rectangles(xcb_connection_t *conn,
uint8_t op, xcb_render_picture_t dst, xcb_render_color_t color,
uint32_t rects_len, const xcb_rectangle_t *rects);
so first you gotta pull in <xcb/render.h> β that's the header, she's essential, no skips π«Ά β and then you call that function with those six things. Look at her. Iconic signature. β
π¦ REQUEST ARGUMENTS π¦
connβ bestie this is your XCB connection to X11. Your lil hotline to the server. πopβ TODO: NOT YET DOCUMENTED. πdstβ TODO: NOT YET DOCUMENTED. πcolorβ TODO: NOT YET DOCUMENTED. πrects_lenβ TODO: NOT YET DOCUMENTED. πrectsβ TODO: NOT YET DOCUMENTED. π
ngl, five out of six of these are straight up "TODO: NOT YET DOCUMENTED." and I'm not about to make up lore for them, because inventing behaviour is not the vibe. The docs are the docs, and right now they're saying nothing. Periodt. π We respect the mystery. π
π DESCRIPTION π
also empty. Like, genuinely nothing here. The original page has a DESCRIPTION heading and then justβ¦ air. π¬οΈ So consider this your moment of silence, bestie. π
π₯ RETURN VALUE π₯
She returns an xcb_void_cookie_t. π« And here's the tea: errors (if there are any) have to be handled in the event loop. That's the deal.
If you'd rather handle errors directly with xcb_request_check, then use xcb_render_fill_rectangles_checked instead β that's her checked twin, she'll tell you what went wrong. π
For the full story on how any of this cookie business works, go see xcb-requests(3). π
π ERRORS π
This request does never generate any errors.
yup. zero. none. she's perfect, she's unbothered, she cannot fail you like that. π (Obviously still handle your cookie in the event loop like a responsible main character, but there's nothing to catch. Slay.)
π SEE ALSO π
β¦bestie there's literally nothing listed here. The section exists, the entries do not. It's giving an empty group chat. π«Ά
β¨ AUTHOR β¨
Generated from render.xml. π Contact xcb@lists.freedesktop.org for corrections and improvements. (If you know what op, dst, color, rects_len and rects actually do β please email them, they're begging. π)
okay that's the whole page, we ate and left no crumbs π
this was X Version 11, libxcb 1.17.0, and it's xcb_render_fill_rectangles(3) β ily, go fill some rectangles bestie πβ¨π
π¦ 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