xcb_fill_poly(3)
β¨ xcb_fill_poly β¨
ok bestie so this is a page from the XCB Requests section of the manual, it's xcb_fill_poly(3), and honestly? it's giving "polygon glow-up" π
πΈ NAME πΈ
xcb_fill_poly β (and likeβ¦ that's it, the description slot is literally empty, no cap π)
π SYNOPSIS π
First things first, you gotta bring in the header, periodt:
#include <xcb/xproto.h>
Request function
here's the whole vibe, copy it exactly bestie:
xcb_void_cookie_t xcb_fill_poly(xcb_connection_t *conn,
xcb_drawable_t drawable, xcb_gcontext_t gc, uint8_t shape,
uint8_t coordinate_mode, uint32_t points_len, const
xcb_point_t *points);
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your lil hotline to the server, iykyk π«Άdrawableβ TODO: NOT YET DOCUMENTED. (the manpage really said "mystery β¨")gcβ TODO: NOT YET DOCUMENTED. (also a mystery, bestie, we don't make the rules π)shapeβ it's one of these values, pick your fighter:XCB_POLY_SHAPE_COMPLEXβ TODO: NOT YET DOCUMENTED.XCB_POLY_SHAPE_NONCONVEXβ TODO: NOT YET DOCUMENTED.XCB_POLY_SHAPE_CONVEXβ TODO: NOT YET DOCUMENTED.- TODO: NOT YET DOCUMENTED. (yeah this extra TODO is justβ¦ vibing here on its own. iconic behaviour honestly π)
coordinate_modeβ also a pick-one situation:XCB_COORD_MODE_ORIGINβ Treats all coordinates as relative to the origin.XCB_COORD_MODE_PREVIOUSβ Treats all coordinates after the first as relative to the previous coordinate.- TODO: NOT YET DOCUMENTED. (another solo TODO, main character energy π)
points_lenβ TODO: NOT YET DOCUMENTED.pointsβ TODO: NOT YET DOCUMENTED.
π DESCRIPTION π
bestieβ¦ there is literally nothing here. the DESCRIPTION section is empty. it's giving silence. it's giving "we'll fill it in later". no tea, no shade, just an empty section. π«
π RETURN VALUE π
It hands you back an xcb_void_cookie_t. If any errors pop off, you have to deal with them in the event loop, not right here, okay?
If you'd rather handle errors directly with xcb_request_check instead, then use xcb_fill_poly_checked instead. Peep xcb-requests(3) for the deets. π
π₯ ERRORS π₯
This request does never generate any errors. periodt. zero drama, we love a low-maintenance request β¨
π SEE ALSO π
bestie this section is empty too π nothing to see, nothing to also. it's a whole vibe of absence.
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (yes they really want your emails, bestie, slide into their inbox if something's off π)
and that's the whole page! this was xcb_fill_poly(3) from X Version 11, libxcb 1.17.0, and the date line is blank so we're just gonna say sometime, whenever, no timestamp bestie π stay slaying with your polygons, mwah πβ¨
π¦ 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