xcb_render_se...ip_rectangles(3)
β¨ xcb_render_se...ip_rectangles(3) β¨
okay bestie, so this is a page from the XCB Requests corner of the manual β yes the title is literally truncated with dots in it, that's not a typo, that's just how it's filed π
β and we're talking about xcb_render_set_picture_clip_rectangles. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
xcb_render_set_picture_clip_rectangles β and ngl the description slot is just... empty. that's it. that's the whole name section. the original said nothing else so neither do i π
π SYNOPSIS π
first things first, you gotta pull in the header:
#include <xcb/render.h>
β¨ Request function β¨
xcb_void_cookie_t
xcb_render_set_picture_clip_rectangles(xcb_connection_t *conn,
xcb_render_picture_t picture, int16_t clip_x_origin,
int16_t clip_y_origin, uint32_t rectangles_len, const
xcb_rectangle_t *rectangles);
copy it exactly like that, no cap π§
π¦ REQUEST ARGUMENTS π¦
here's the whole cast, and listen β the original doc for literally every single one of these says "TODO: NOT YET DOCUMENTED." so i'm not gonna make stuff up about them, that would be a vibe crime π i'm just telling you what each one is:
connβ the XCB connection to X11. your lil hotline to the server, periodt πpictureβ TODO: NOT YET DOCUMENTED. yeah. the manpage really left us on read for this one πclip_x_originβ TODO: NOT YET DOCUMENTED. (aint16_t, in case you were wondering π)clip_y_originβ TODO: NOT YET DOCUMENTED. also just sitting there undocumented, iconic behaviour honestlyrectangles_lenβ TODO: NOT YET DOCUMENTED. (it's auint32_t, so like, it's a length. that's all we get π)rectanglesβ TODO: NOT YET DOCUMENTED. (aconst xcb_rectangle_t *, and that's the entire tea β)
π DESCRIPTION π
...nothing. the section exists and it is empty. the silence is deafening bestie π i cannot invent lore that isn't there, that's not the move π«Ά
π₯ RETURN VALUE π₯
it hands you back an xcb_void_cookie_t. and listen closely, because this part actually matters: any errors have to be handled over in the event loop. that's the deal. no sneaky shortcuts β¨
but wait β if you'd rather handle errors directly, there's xcb_request_check for that, and for that route you wanna use xcb_render_set_picture_clip_rectangles_checked instead. the full details live in xcb-requests(3), so go read that when you're ready π
π ERRORS π
This request does never generate any errors.
yep. zero. none. she's unproblematic, she's drama-free, she does not start fights π (dramatic? maybe. accurate? fr fr.)
π SEE ALSO π
crickets. literally nothing listed here. the section is there and it's empty, so i'm keeping it empty β i'm not about to invent references and gaslight you π
π AUTHOR π
Generated from render.xml. if you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org β they're the ones taking corrections and improvements π«Ά
and that's the whole page, bestie!! this beauty came from X Version 11, libxcb 1.17.0, and yeah the title up top is truncated with those lil dots but you know exactly which page you're on π mwah, go forth and clip responsibly β¨πΈπ¦
π¦ 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