xcb_render_trapezoids(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’–