xcb_render_trapezoids(3)
π xcb_render_trapezoids π
ok so bestie, welcome to the xcb_render_trapezoids page from the XCB Requests corner of the manual (yes, that's the manual name, she lives there π ). This is the libxcb 1.17.0 era of the X Version 11 docs, and we're about to get into some trapezoid-painting business. no cap. β¨
πΈ NAME πΈ
xcb_render_trapezoids β literally the name, that's it, the original page left this part blank and we are NOT inventing lore π
π¦ SYNOPSIS π¦
First things first, you gotta pull in the header:
#include <xcb/render.h>
β¨ Request function β¨
xcb_void_cookie_t xcb_render_trapezoids(xcb_connection_t *conn,
uint8_t op, xcb_render_picture_t src, xcb_render_picture_t dst,
xcb_render_pictformat_t mask_format, int16_t src_x,
int16_t src_y, uint32_t traps_len, const
xcb_render_trapezoid_t *traps);
she takes nine arguments and returns a cookie, that's the whole vibe π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the X server, obsessed π«Άopβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs said "not yet" and we're keeping it 100, that's all we got πsrcβ TODO: NOT YET DOCUMENTED. πdstβ TODO: NOT YET DOCUMENTED. πmask_formatβ TODO: NOT YET DOCUMENTED. πsrc_xβ TODO: NOT YET DOCUMENTED. πsrc_yβ TODO: NOT YET DOCUMENTED. πtraps_lenβ TODO: NOT YET DOCUMENTED. πtrapsβ TODO: NOT YET DOCUMENTED. π
not me listing every single one and every single one being "TODO: NOT YET DOCUMENTED" π the mystery is the aesthetic i guess. anyway, we don't make up facts around here, so this is the whole tea. periodt.
π DESCRIPTION π
this section is empty in the original, so it's empty here too, it's giving "silent but mysterious" energy π
π RETURN VALUE π
she hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if any) have to be handled in the event loop. no shortcuts, bestie.
if you'd rather handle errors directly with xcb_request_check instead, then use xcb_render_trapezoids_checked. that's the checked-girl version of this request, she'll tell you what went wrong. see xcb-requests(3) for the details. π₯
π ERRORS π
This request does never generate any errors.
flawless, unbothered, zero drama. she simply does not miss. β¨
π§ SEE ALSO π§
the original page lists nothing here, so there's nothing to pass along. an empty void of see-also. iconic in its own way π
π AUTHOR π
Generated from render.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if something's off, that's the inbox, go off bestie π«Ά
and that's the whole page, fr fr πΈ this was X Version 11, libxcb 1.17.0, and it's xcb_render_trapezoids(3) signing off π
β¨ bye bestie, go paint some trapezoids π
π¦ 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