xcb_glx_get_polygon_stipple(3)
β¨ xcb_glx_get_polygon_stipple β¨
okay bestie, so this one lives in the XCB requests crew, specifically the GLX corner of it β that's xcb_glx_get_polygon_stipple, from the <xcb/glx.h> header. it's giving "ask the X server what the polygon stipple looks like rn" energy π
πΈ NAME πΈ
xcb_glx_get_polygon_stipple -
(yeah the original leaves it blank after the dash, no cap, that's literally how it ships π)
π¦ SYNOPSIS π¦
#include <xcb/glx.h>
π Request function π
xcb_glx_get_polygon_stipple_cookie_t
xcb_glx_get_polygon_stipple(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint8_t lsb_first);
π Reply datastructure π
typedef struct xcb_glx_get_polygon_stipple_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[24];
} xcb_glx_get_polygon_stipple_reply_t;
π Reply function π
xcb_glx_get_polygon_stipple_reply_t
*xcb_glx_get_polygon_stipple_reply(xcb_connection_t *conn,
xcb_glx_get_polygon_stipple_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
uint8_t *xcb_glx_get_polygon_stipple_data(const
xcb_glx_get_polygon_stipple_request_t *reply);
int xcb_glx_get_polygon_stipple_data_length(const
xcb_glx_get_polygon_stipple_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_polygon_stipple_data_end(const
xcb_glx_get_polygon_stipple_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server fr fr βοΈcontext_tagβ TODO: NOT YET DOCUMENTED. (the docs said "idk yet" and honestly? iconic of them π)lsb_firstβ TODO: NOT YET DOCUMENTED. (same vibe, same mystery π΅οΈβοΈ)
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_POLYGON_STIPPLE. this field also shows up in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. it's the "which one are you" field bestie πsequenceβ the sequence number of the last request processed by the X11 server. lowkey the server's little receipt number π§Ύlengthβ the length of the reply, in words (and a word is 4 bytes, periodt).
β¨ DESCRIPTION β¨
(empty. nothing. void. the original justβ¦ doesn't say anything here, and we respect the silence π)
π RETURN VALUE π
Returns an xcb_glx_get_polygon_stipple_cookie_t. Errors have to be handled when calling the reply function xcb_glx_get_polygon_stipple_reply. so like, don't forget your error handling bestie, that's main character behavior π«Ά
If you want to handle errors in the event loop instead, use xcb_glx_get_polygon_stipple_unchecked. See xcb-requests(3) for details. β¨
π₯ ERRORS π₯
This request does never generate any errors. not a single one. zero. flawless. ate and left no crumbs π
π SEE ALSO π
(nothing listed here β the section is there but it's empty, and that's just how it is π)
π§ AUTHOR π§
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π§
heads up bestie:context_tagandlsb_firstare marked TODO: NOT YET DOCUMENTED in the original, so i'm not gonna make up what they do β no cap, i'm not inventing facts for you π
okay that's the whole page!! this was generated for X Version 11, libxcb 1.17.0, and it's the xcb_glx_get_polygon_stipple(3) moment. mwah, bye bestie ππβ¨
π¦ 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