xcb_poly_point(3)
π xcb_poly_point
okay bestie, welcome to the xcb_poly_point(3) page β it lives in the XCB Requests corner of the libxcb universe, and it's giving "draw a whole bunch of points in one go" energy. she's short, she's sweet, and half her docs are literally just the word TODO, so let's vibe through her together π
β¨ NAME β¨
xcb_poly_point β the request itself. that's it, that's the name, no little dash-summary for us today, we ball π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xproto.h>
π¦ Request function
here's the whole squad, exactly as they show up:
xcb_void_cookie_t xcb_poly_point(xcb_connection_t *conn,
uint8_t coordinate_mode, xcb_drawable_t drawable,
xcb_gcontext_t gc, uint32_t points_len, const
xcb_point_t *points);
that return type? xcb_void_cookie_t. remember her, we come back to her later bestie π
π₯ REQUEST ARGUMENTS π₯
connβ your XCB connection to X11. the group chat you're sending all this through, basically πcoordinate_modeβ literally one of these two values, pick your fighter:XCB_COORD_MODE_ORIGINβ treats all coordinates as relative to the origin. every single one, no exceptions, periodt.XCB_COORD_MODE_PREVIOUSβ treats all coordinates after the first as relative to the previous coordinate. so the first one's still on its own, and everything after is like "yeah I'm standing on the shoulders of the point before me" π«Ά
TODO: NOT YET DOCUMENTED.
drawableβ TODO: NOT YET DOCUMENTED. πgcβ TODO: NOT YET DOCUMENTED. πpoints_lenβ TODO: NOT YET DOCUMENTED. πpointsβ TODO: NOT YET DOCUMENTED. π
ngl the docs really said "figure it out bestie" on like four of these, but the argument names are right there and they're not going anywhere π
π DESCRIPTION π
β¦and that's it. that's the whole description. the section exists, she showed up, she said nothing. iconic behaviour honestly. the description is empty. we move. π
β RETURN VALUE β
she returns an xcb_void_cookie_t. and because XCB loves to keep you on your toes, any errors have to be handled over in the event loop β not here, not now, later, in the loop, like a little surprise πΈ
if you'd rather deal with errors directly using xcb_request_check, then use xcb_poly_point_checked instead. same energy, different entry point. see xcb-requests(3) for all the deets on how that works π
π ERRORS π
this request does never generate any errors. zero. none. not a single one. she's unproblematic, she's low-drama, she ate and left no crumbs π₯
π SEE ALSO π
nothing here bestie, the section is empty. enjoy the silence π¦
π«Ά AUTHOR π«Ά
Generated from xproto.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally waiting for your email, no cap π
and that's the whole page! xcb_poly_point(3) comes to you from X Version 11, running libxcb 1.17.0 β mwah, go draw some points bestie, 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