1 /* 2 * This file generated automatically from render.xml by d_client.py. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB_Render_API XCB Render API 8 * @brief Render XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 module xcb.render; 13 14 import xcb.xcb; 15 import xcb.xproto; 16 17 extern (C): 18 19 enum int XCB_RENDER_MAJOR_VERSION = 0; 20 enum int XCB_RENDER_MINOR_VERSION = 11; 21 22 extern (C) __gshared extern xcb_extension_t xcb_render_id; 23 24 enum xcb_render_pict_type_t { 25 XCB_RENDER_PICT_TYPE_INDEXED = 0, 26 XCB_RENDER_PICT_TYPE_DIRECT = 1 27 } 28 29 alias XCB_RENDER_PICT_TYPE_INDEXED = xcb_render_pict_type_t.XCB_RENDER_PICT_TYPE_INDEXED; 30 alias XCB_RENDER_PICT_TYPE_DIRECT = xcb_render_pict_type_t.XCB_RENDER_PICT_TYPE_DIRECT; 31 32 enum xcb_render_picture_enum_t { 33 XCB_RENDER_PICTURE_NONE = 0 34 } 35 36 alias XCB_RENDER_PICTURE_NONE = xcb_render_picture_enum_t.XCB_RENDER_PICTURE_NONE; 37 38 enum xcb_render_pict_op_t { 39 XCB_RENDER_PICT_OP_CLEAR = 0, 40 XCB_RENDER_PICT_OP_SRC = 1, 41 XCB_RENDER_PICT_OP_DST = 2, 42 XCB_RENDER_PICT_OP_OVER = 3, 43 XCB_RENDER_PICT_OP_OVER_REVERSE = 4, 44 XCB_RENDER_PICT_OP_IN = 5, 45 XCB_RENDER_PICT_OP_IN_REVERSE = 6, 46 XCB_RENDER_PICT_OP_OUT = 7, 47 XCB_RENDER_PICT_OP_OUT_REVERSE = 8, 48 XCB_RENDER_PICT_OP_ATOP = 9, 49 XCB_RENDER_PICT_OP_ATOP_REVERSE = 10, 50 XCB_RENDER_PICT_OP_XOR = 11, 51 XCB_RENDER_PICT_OP_ADD = 12, 52 XCB_RENDER_PICT_OP_SATURATE = 13, 53 XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 16, 54 XCB_RENDER_PICT_OP_DISJOINT_SRC = 17, 55 XCB_RENDER_PICT_OP_DISJOINT_DST = 18, 56 XCB_RENDER_PICT_OP_DISJOINT_OVER = 19, 57 XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE = 20, 58 XCB_RENDER_PICT_OP_DISJOINT_IN = 21, 59 XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE = 22, 60 XCB_RENDER_PICT_OP_DISJOINT_OUT = 23, 61 XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE = 24, 62 XCB_RENDER_PICT_OP_DISJOINT_ATOP = 25, 63 XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE = 26, 64 XCB_RENDER_PICT_OP_DISJOINT_XOR = 27, 65 XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 32, 66 XCB_RENDER_PICT_OP_CONJOINT_SRC = 33, 67 XCB_RENDER_PICT_OP_CONJOINT_DST = 34, 68 XCB_RENDER_PICT_OP_CONJOINT_OVER = 35, 69 XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE = 36, 70 XCB_RENDER_PICT_OP_CONJOINT_IN = 37, 71 XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE = 38, 72 XCB_RENDER_PICT_OP_CONJOINT_OUT = 39, 73 XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE = 40, 74 XCB_RENDER_PICT_OP_CONJOINT_ATOP = 41, 75 XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE = 42, 76 XCB_RENDER_PICT_OP_CONJOINT_XOR = 43, 77 XCB_RENDER_PICT_OP_MULTIPLY = 48, 78 XCB_RENDER_PICT_OP_SCREEN = 49, 79 XCB_RENDER_PICT_OP_OVERLAY = 50, 80 XCB_RENDER_PICT_OP_DARKEN = 51, 81 XCB_RENDER_PICT_OP_LIGHTEN = 52, 82 XCB_RENDER_PICT_OP_COLOR_DODGE = 53, 83 XCB_RENDER_PICT_OP_COLOR_BURN = 54, 84 XCB_RENDER_PICT_OP_HARD_LIGHT = 55, 85 XCB_RENDER_PICT_OP_SOFT_LIGHT = 56, 86 XCB_RENDER_PICT_OP_DIFFERENCE = 57, 87 XCB_RENDER_PICT_OP_EXCLUSION = 58, 88 XCB_RENDER_PICT_OP_HSL_HUE = 59, 89 XCB_RENDER_PICT_OP_HSL_SATURATION = 60, 90 XCB_RENDER_PICT_OP_HSL_COLOR = 61, 91 XCB_RENDER_PICT_OP_HSL_LUMINOSITY = 62 92 } 93 94 alias XCB_RENDER_PICT_OP_CLEAR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CLEAR; 95 alias XCB_RENDER_PICT_OP_SRC = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_SRC; 96 alias XCB_RENDER_PICT_OP_DST = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DST; 97 alias XCB_RENDER_PICT_OP_OVER = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_OVER; 98 alias XCB_RENDER_PICT_OP_OVER_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_OVER_REVERSE; 99 alias XCB_RENDER_PICT_OP_IN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_IN; 100 alias XCB_RENDER_PICT_OP_IN_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_IN_REVERSE; 101 alias XCB_RENDER_PICT_OP_OUT = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_OUT; 102 alias XCB_RENDER_PICT_OP_OUT_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_OUT_REVERSE; 103 alias XCB_RENDER_PICT_OP_ATOP = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_ATOP; 104 alias XCB_RENDER_PICT_OP_ATOP_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_ATOP_REVERSE; 105 alias XCB_RENDER_PICT_OP_XOR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_XOR; 106 alias XCB_RENDER_PICT_OP_ADD = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_ADD; 107 alias XCB_RENDER_PICT_OP_SATURATE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_SATURATE; 108 alias XCB_RENDER_PICT_OP_DISJOINT_CLEAR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_CLEAR; 109 alias XCB_RENDER_PICT_OP_DISJOINT_SRC = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_SRC; 110 alias XCB_RENDER_PICT_OP_DISJOINT_DST = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_DST; 111 alias XCB_RENDER_PICT_OP_DISJOINT_OVER = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_OVER; 112 alias XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE; 113 alias XCB_RENDER_PICT_OP_DISJOINT_IN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_IN; 114 alias XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE; 115 alias XCB_RENDER_PICT_OP_DISJOINT_OUT = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_OUT; 116 alias XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE; 117 alias XCB_RENDER_PICT_OP_DISJOINT_ATOP = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_ATOP; 118 alias XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE; 119 alias XCB_RENDER_PICT_OP_DISJOINT_XOR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DISJOINT_XOR; 120 alias XCB_RENDER_PICT_OP_CONJOINT_CLEAR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_CLEAR; 121 alias XCB_RENDER_PICT_OP_CONJOINT_SRC = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_SRC; 122 alias XCB_RENDER_PICT_OP_CONJOINT_DST = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_DST; 123 alias XCB_RENDER_PICT_OP_CONJOINT_OVER = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_OVER; 124 alias XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE; 125 alias XCB_RENDER_PICT_OP_CONJOINT_IN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_IN; 126 alias XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE; 127 alias XCB_RENDER_PICT_OP_CONJOINT_OUT = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_OUT; 128 alias XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE; 129 alias XCB_RENDER_PICT_OP_CONJOINT_ATOP = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_ATOP; 130 alias XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE; 131 alias XCB_RENDER_PICT_OP_CONJOINT_XOR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_CONJOINT_XOR; 132 alias XCB_RENDER_PICT_OP_MULTIPLY = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_MULTIPLY; 133 alias XCB_RENDER_PICT_OP_SCREEN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_SCREEN; 134 alias XCB_RENDER_PICT_OP_OVERLAY = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_OVERLAY; 135 alias XCB_RENDER_PICT_OP_DARKEN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DARKEN; 136 alias XCB_RENDER_PICT_OP_LIGHTEN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_LIGHTEN; 137 alias XCB_RENDER_PICT_OP_COLOR_DODGE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_COLOR_DODGE; 138 alias XCB_RENDER_PICT_OP_COLOR_BURN = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_COLOR_BURN; 139 alias XCB_RENDER_PICT_OP_HARD_LIGHT = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_HARD_LIGHT; 140 alias XCB_RENDER_PICT_OP_SOFT_LIGHT = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_SOFT_LIGHT; 141 alias XCB_RENDER_PICT_OP_DIFFERENCE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_DIFFERENCE; 142 alias XCB_RENDER_PICT_OP_EXCLUSION = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_EXCLUSION; 143 alias XCB_RENDER_PICT_OP_HSL_HUE = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_HSL_HUE; 144 alias XCB_RENDER_PICT_OP_HSL_SATURATION = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_HSL_SATURATION; 145 alias XCB_RENDER_PICT_OP_HSL_COLOR = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_HSL_COLOR; 146 alias XCB_RENDER_PICT_OP_HSL_LUMINOSITY = xcb_render_pict_op_t.XCB_RENDER_PICT_OP_HSL_LUMINOSITY; 147 148 enum xcb_render_poly_edge_t { 149 XCB_RENDER_POLY_EDGE_SHARP = 0, 150 XCB_RENDER_POLY_EDGE_SMOOTH = 1 151 } 152 153 alias XCB_RENDER_POLY_EDGE_SHARP = xcb_render_poly_edge_t.XCB_RENDER_POLY_EDGE_SHARP; 154 alias XCB_RENDER_POLY_EDGE_SMOOTH = xcb_render_poly_edge_t.XCB_RENDER_POLY_EDGE_SMOOTH; 155 156 enum xcb_render_poly_mode_t { 157 XCB_RENDER_POLY_MODE_PRECISE = 0, 158 XCB_RENDER_POLY_MODE_IMPRECISE = 1 159 } 160 161 alias XCB_RENDER_POLY_MODE_PRECISE = xcb_render_poly_mode_t.XCB_RENDER_POLY_MODE_PRECISE; 162 alias XCB_RENDER_POLY_MODE_IMPRECISE = xcb_render_poly_mode_t.XCB_RENDER_POLY_MODE_IMPRECISE; 163 164 enum xcb_render_cp_t { 165 XCB_RENDER_CP_REPEAT = 1, 166 XCB_RENDER_CP_ALPHA_MAP = 2, 167 XCB_RENDER_CP_ALPHA_X_ORIGIN = 4, 168 XCB_RENDER_CP_ALPHA_Y_ORIGIN = 8, 169 XCB_RENDER_CP_CLIP_X_ORIGIN = 16, 170 XCB_RENDER_CP_CLIP_Y_ORIGIN = 32, 171 XCB_RENDER_CP_CLIP_MASK = 64, 172 XCB_RENDER_CP_GRAPHICS_EXPOSURE = 128, 173 XCB_RENDER_CP_SUBWINDOW_MODE = 256, 174 XCB_RENDER_CP_POLY_EDGE = 512, 175 XCB_RENDER_CP_POLY_MODE = 1024, 176 XCB_RENDER_CP_DITHER = 2048, 177 XCB_RENDER_CP_COMPONENT_ALPHA = 4096 178 } 179 180 alias XCB_RENDER_CP_REPEAT = xcb_render_cp_t.XCB_RENDER_CP_REPEAT; 181 alias XCB_RENDER_CP_ALPHA_MAP = xcb_render_cp_t.XCB_RENDER_CP_ALPHA_MAP; 182 alias XCB_RENDER_CP_ALPHA_X_ORIGIN = xcb_render_cp_t.XCB_RENDER_CP_ALPHA_X_ORIGIN; 183 alias XCB_RENDER_CP_ALPHA_Y_ORIGIN = xcb_render_cp_t.XCB_RENDER_CP_ALPHA_Y_ORIGIN; 184 alias XCB_RENDER_CP_CLIP_X_ORIGIN = xcb_render_cp_t.XCB_RENDER_CP_CLIP_X_ORIGIN; 185 alias XCB_RENDER_CP_CLIP_Y_ORIGIN = xcb_render_cp_t.XCB_RENDER_CP_CLIP_Y_ORIGIN; 186 alias XCB_RENDER_CP_CLIP_MASK = xcb_render_cp_t.XCB_RENDER_CP_CLIP_MASK; 187 alias XCB_RENDER_CP_GRAPHICS_EXPOSURE = xcb_render_cp_t.XCB_RENDER_CP_GRAPHICS_EXPOSURE; 188 alias XCB_RENDER_CP_SUBWINDOW_MODE = xcb_render_cp_t.XCB_RENDER_CP_SUBWINDOW_MODE; 189 alias XCB_RENDER_CP_POLY_EDGE = xcb_render_cp_t.XCB_RENDER_CP_POLY_EDGE; 190 alias XCB_RENDER_CP_POLY_MODE = xcb_render_cp_t.XCB_RENDER_CP_POLY_MODE; 191 alias XCB_RENDER_CP_DITHER = xcb_render_cp_t.XCB_RENDER_CP_DITHER; 192 alias XCB_RENDER_CP_COMPONENT_ALPHA = xcb_render_cp_t.XCB_RENDER_CP_COMPONENT_ALPHA; 193 194 enum xcb_render_sub_pixel_t { 195 XCB_RENDER_SUB_PIXEL_UNKNOWN = 0, 196 XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB = 1, 197 XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR = 2, 198 XCB_RENDER_SUB_PIXEL_VERTICAL_RGB = 3, 199 XCB_RENDER_SUB_PIXEL_VERTICAL_BGR = 4, 200 XCB_RENDER_SUB_PIXEL_NONE = 5 201 } 202 203 alias XCB_RENDER_SUB_PIXEL_UNKNOWN = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_UNKNOWN; 204 alias XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB; 205 alias XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR; 206 alias XCB_RENDER_SUB_PIXEL_VERTICAL_RGB = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_VERTICAL_RGB; 207 alias XCB_RENDER_SUB_PIXEL_VERTICAL_BGR = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_VERTICAL_BGR; 208 alias XCB_RENDER_SUB_PIXEL_NONE = xcb_render_sub_pixel_t.XCB_RENDER_SUB_PIXEL_NONE; 209 210 enum xcb_render_repeat_t { 211 XCB_RENDER_REPEAT_NONE = 0, 212 XCB_RENDER_REPEAT_NORMAL = 1, 213 XCB_RENDER_REPEAT_PAD = 2, 214 XCB_RENDER_REPEAT_REFLECT = 3 215 } 216 217 alias XCB_RENDER_REPEAT_NONE = xcb_render_repeat_t.XCB_RENDER_REPEAT_NONE; 218 alias XCB_RENDER_REPEAT_NORMAL = xcb_render_repeat_t.XCB_RENDER_REPEAT_NORMAL; 219 alias XCB_RENDER_REPEAT_PAD = xcb_render_repeat_t.XCB_RENDER_REPEAT_PAD; 220 alias XCB_RENDER_REPEAT_REFLECT = xcb_render_repeat_t.XCB_RENDER_REPEAT_REFLECT; 221 222 alias xcb_render_glyph_t = uint; 223 224 /** 225 * @brief xcb_render_glyph_iterator_t 226 **/ 227 struct xcb_render_glyph_iterator_t { 228 xcb_render_glyph_t* data; /**< */ 229 int rem; /**< */ 230 int index; /**< */ 231 } 232 233 alias xcb_render_glyphset_t = uint; 234 235 /** 236 * @brief xcb_render_glyphset_iterator_t 237 **/ 238 struct xcb_render_glyphset_iterator_t { 239 xcb_render_glyphset_t* data; /**< */ 240 int rem; /**< */ 241 int index; /**< */ 242 } 243 244 alias xcb_render_picture_t = uint; 245 246 /** 247 * @brief xcb_render_picture_iterator_t 248 **/ 249 struct xcb_render_picture_iterator_t { 250 xcb_render_picture_t* data; /**< */ 251 int rem; /**< */ 252 int index; /**< */ 253 } 254 255 alias xcb_render_pictformat_t = uint; 256 257 /** 258 * @brief xcb_render_pictformat_iterator_t 259 **/ 260 struct xcb_render_pictformat_iterator_t { 261 xcb_render_pictformat_t* data; /**< */ 262 int rem; /**< */ 263 int index; /**< */ 264 } 265 266 alias xcb_render_fixed_t = int; 267 268 /** 269 * @brief xcb_render_fixed_iterator_t 270 **/ 271 struct xcb_render_fixed_iterator_t { 272 xcb_render_fixed_t* data; /**< */ 273 int rem; /**< */ 274 int index; /**< */ 275 } 276 277 /** Opcode for xcb_render_pict_format. */ 278 enum XCB_RENDER_PICT_FORMAT = 0; 279 280 /** 281 * @brief xcb_render_pict_format_error_t 282 **/ 283 struct xcb_render_pict_format_error_t { 284 ubyte response_type; /**< */ 285 ubyte error_code; /**< */ 286 ushort sequence; /**< */ 287 } 288 289 /** Opcode for xcb_render_picture. */ 290 enum XCB_RENDER_PICTURE = 1; 291 292 /** 293 * @brief xcb_render_picture_error_t 294 **/ 295 struct xcb_render_picture_error_t { 296 ubyte response_type; /**< */ 297 ubyte error_code; /**< */ 298 ushort sequence; /**< */ 299 } 300 301 /** Opcode for xcb_render_pict_op. */ 302 enum XCB_RENDER_PICT_OP = 2; 303 304 /** 305 * @brief xcb_render_pict_op_error_t 306 **/ 307 struct xcb_render_pict_op_error_t { 308 ubyte response_type; /**< */ 309 ubyte error_code; /**< */ 310 ushort sequence; /**< */ 311 } 312 313 /** Opcode for xcb_render_glyph_set. */ 314 enum XCB_RENDER_GLYPH_SET = 3; 315 316 /** 317 * @brief xcb_render_glyph_set_error_t 318 **/ 319 struct xcb_render_glyph_set_error_t { 320 ubyte response_type; /**< */ 321 ubyte error_code; /**< */ 322 ushort sequence; /**< */ 323 } 324 325 /** Opcode for xcb_render_glyph. */ 326 enum XCB_RENDER_GLYPH = 4; 327 328 /** 329 * @brief xcb_render_glyph_error_t 330 **/ 331 struct xcb_render_glyph_error_t { 332 ubyte response_type; /**< */ 333 ubyte error_code; /**< */ 334 ushort sequence; /**< */ 335 } 336 337 /** 338 * @brief xcb_render_directformat_t 339 **/ 340 struct xcb_render_directformat_t { 341 ushort red_shift; /**< */ 342 ushort red_mask; /**< */ 343 ushort green_shift; /**< */ 344 ushort green_mask; /**< */ 345 ushort blue_shift; /**< */ 346 ushort blue_mask; /**< */ 347 ushort alpha_shift; /**< */ 348 ushort alpha_mask; /**< */ 349 } 350 351 /** 352 * @brief xcb_render_directformat_iterator_t 353 **/ 354 struct xcb_render_directformat_iterator_t { 355 xcb_render_directformat_t* data; /**< */ 356 int rem; /**< */ 357 int index; /**< */ 358 } 359 360 /** 361 * @brief xcb_render_pictforminfo_t 362 **/ 363 struct xcb_render_pictforminfo_t { 364 xcb_render_pictformat_t id; /**< */ 365 ubyte type; /**< */ 366 ubyte depth; /**< */ 367 ubyte[2] pad0; /**< */ 368 xcb_render_directformat_t direct; /**< */ 369 xcb_colormap_t colormap; /**< */ 370 } 371 372 /** 373 * @brief xcb_render_pictforminfo_iterator_t 374 **/ 375 struct xcb_render_pictforminfo_iterator_t { 376 xcb_render_pictforminfo_t* data; /**< */ 377 int rem; /**< */ 378 int index; /**< */ 379 } 380 381 /** 382 * @brief xcb_render_pictvisual_t 383 **/ 384 struct xcb_render_pictvisual_t { 385 xcb_visualid_t visual; /**< */ 386 xcb_render_pictformat_t format; /**< */ 387 } 388 389 /** 390 * @brief xcb_render_pictvisual_iterator_t 391 **/ 392 struct xcb_render_pictvisual_iterator_t { 393 xcb_render_pictvisual_t* data; /**< */ 394 int rem; /**< */ 395 int index; /**< */ 396 } 397 398 /** 399 * @brief xcb_render_pictdepth_t 400 **/ 401 struct xcb_render_pictdepth_t { 402 ubyte depth; /**< */ 403 ubyte pad0; /**< */ 404 ushort num_visuals; /**< */ 405 ubyte[4] pad1; /**< */ 406 } 407 408 /** 409 * @brief xcb_render_pictdepth_iterator_t 410 **/ 411 struct xcb_render_pictdepth_iterator_t { 412 xcb_render_pictdepth_t* data; /**< */ 413 int rem; /**< */ 414 int index; /**< */ 415 } 416 417 /** 418 * @brief xcb_render_pictscreen_t 419 **/ 420 struct xcb_render_pictscreen_t { 421 uint num_depths; /**< */ 422 xcb_render_pictformat_t fallback; /**< */ 423 } 424 425 /** 426 * @brief xcb_render_pictscreen_iterator_t 427 **/ 428 struct xcb_render_pictscreen_iterator_t { 429 xcb_render_pictscreen_t* data; /**< */ 430 int rem; /**< */ 431 int index; /**< */ 432 } 433 434 /** 435 * @brief xcb_render_indexvalue_t 436 **/ 437 struct xcb_render_indexvalue_t { 438 uint pixel; /**< */ 439 ushort red; /**< */ 440 ushort green; /**< */ 441 ushort blue; /**< */ 442 ushort alpha; /**< */ 443 } 444 445 /** 446 * @brief xcb_render_indexvalue_iterator_t 447 **/ 448 struct xcb_render_indexvalue_iterator_t { 449 xcb_render_indexvalue_t* data; /**< */ 450 int rem; /**< */ 451 int index; /**< */ 452 } 453 454 /** 455 * @brief xcb_render_color_t 456 **/ 457 struct xcb_render_color_t { 458 ushort red; /**< */ 459 ushort green; /**< */ 460 ushort blue; /**< */ 461 ushort alpha; /**< */ 462 } 463 464 /** 465 * @brief xcb_render_color_iterator_t 466 **/ 467 struct xcb_render_color_iterator_t { 468 xcb_render_color_t* data; /**< */ 469 int rem; /**< */ 470 int index; /**< */ 471 } 472 473 /** 474 * @brief xcb_render_pointfix_t 475 **/ 476 struct xcb_render_pointfix_t { 477 xcb_render_fixed_t x; /**< */ 478 xcb_render_fixed_t y; /**< */ 479 } 480 481 /** 482 * @brief xcb_render_pointfix_iterator_t 483 **/ 484 struct xcb_render_pointfix_iterator_t { 485 xcb_render_pointfix_t* data; /**< */ 486 int rem; /**< */ 487 int index; /**< */ 488 } 489 490 /** 491 * @brief xcb_render_linefix_t 492 **/ 493 struct xcb_render_linefix_t { 494 xcb_render_pointfix_t p1; /**< */ 495 xcb_render_pointfix_t p2; /**< */ 496 } 497 498 /** 499 * @brief xcb_render_linefix_iterator_t 500 **/ 501 struct xcb_render_linefix_iterator_t { 502 xcb_render_linefix_t* data; /**< */ 503 int rem; /**< */ 504 int index; /**< */ 505 } 506 507 /** 508 * @brief xcb_render_triangle_t 509 **/ 510 struct xcb_render_triangle_t { 511 xcb_render_pointfix_t p1; /**< */ 512 xcb_render_pointfix_t p2; /**< */ 513 xcb_render_pointfix_t p3; /**< */ 514 } 515 516 /** 517 * @brief xcb_render_triangle_iterator_t 518 **/ 519 struct xcb_render_triangle_iterator_t { 520 xcb_render_triangle_t* data; /**< */ 521 int rem; /**< */ 522 int index; /**< */ 523 } 524 525 /** 526 * @brief xcb_render_trapezoid_t 527 **/ 528 struct xcb_render_trapezoid_t { 529 xcb_render_fixed_t top; /**< */ 530 xcb_render_fixed_t bottom; /**< */ 531 xcb_render_linefix_t left; /**< */ 532 xcb_render_linefix_t right; /**< */ 533 } 534 535 /** 536 * @brief xcb_render_trapezoid_iterator_t 537 **/ 538 struct xcb_render_trapezoid_iterator_t { 539 xcb_render_trapezoid_t* data; /**< */ 540 int rem; /**< */ 541 int index; /**< */ 542 } 543 544 /** 545 * @brief xcb_render_glyphinfo_t 546 **/ 547 struct xcb_render_glyphinfo_t { 548 ushort width; /**< */ 549 ushort height; /**< */ 550 short x; /**< */ 551 short y; /**< */ 552 short x_off; /**< */ 553 short y_off; /**< */ 554 } 555 556 /** 557 * @brief xcb_render_glyphinfo_iterator_t 558 **/ 559 struct xcb_render_glyphinfo_iterator_t { 560 xcb_render_glyphinfo_t* data; /**< */ 561 int rem; /**< */ 562 int index; /**< */ 563 } 564 565 /** 566 * @brief xcb_render_query_version_cookie_t 567 **/ 568 struct xcb_render_query_version_cookie_t { 569 uint sequence; /**< */ 570 } 571 572 /** Opcode for xcb_render_query_version. */ 573 enum XCB_RENDER_QUERY_VERSION = 0; 574 575 /** 576 * @brief xcb_render_query_version_request_t 577 **/ 578 struct xcb_render_query_version_request_t { 579 ubyte major_opcode; /**< */ 580 ubyte minor_opcode; /**< */ 581 ushort length; /**< */ 582 uint client_major_version; /**< */ 583 uint client_minor_version; /**< */ 584 } 585 586 /** 587 * @brief xcb_render_query_version_reply_t 588 **/ 589 struct xcb_render_query_version_reply_t { 590 ubyte response_type; /**< */ 591 ubyte pad0; /**< */ 592 ushort sequence; /**< */ 593 uint length; /**< */ 594 uint major_version; /**< */ 595 uint minor_version; /**< */ 596 ubyte[16] pad1; /**< */ 597 } 598 599 /** 600 * @brief xcb_render_query_pict_formats_cookie_t 601 **/ 602 struct xcb_render_query_pict_formats_cookie_t { 603 uint sequence; /**< */ 604 } 605 606 /** Opcode for xcb_render_query_pict_formats. */ 607 enum XCB_RENDER_QUERY_PICT_FORMATS = 1; 608 609 /** 610 * @brief xcb_render_query_pict_formats_request_t 611 **/ 612 struct xcb_render_query_pict_formats_request_t { 613 ubyte major_opcode; /**< */ 614 ubyte minor_opcode; /**< */ 615 ushort length; /**< */ 616 } 617 618 /** 619 * @brief xcb_render_query_pict_formats_reply_t 620 **/ 621 struct xcb_render_query_pict_formats_reply_t { 622 ubyte response_type; /**< */ 623 ubyte pad0; /**< */ 624 ushort sequence; /**< */ 625 uint length; /**< */ 626 uint num_formats; /**< */ 627 uint num_screens; /**< */ 628 uint num_depths; /**< */ 629 uint num_visuals; /**< */ 630 uint num_subpixel; /**< */ 631 ubyte[4] pad1; /**< */ 632 } 633 634 /** 635 * @brief xcb_render_query_pict_index_values_cookie_t 636 **/ 637 struct xcb_render_query_pict_index_values_cookie_t { 638 uint sequence; /**< */ 639 } 640 641 /** Opcode for xcb_render_query_pict_index_values. */ 642 enum XCB_RENDER_QUERY_PICT_INDEX_VALUES = 2; 643 644 /** 645 * @brief xcb_render_query_pict_index_values_request_t 646 **/ 647 struct xcb_render_query_pict_index_values_request_t { 648 ubyte major_opcode; /**< */ 649 ubyte minor_opcode; /**< */ 650 ushort length; /**< */ 651 xcb_render_pictformat_t format; /**< */ 652 } 653 654 /** 655 * @brief xcb_render_query_pict_index_values_reply_t 656 **/ 657 struct xcb_render_query_pict_index_values_reply_t { 658 ubyte response_type; /**< */ 659 ubyte pad0; /**< */ 660 ushort sequence; /**< */ 661 uint length; /**< */ 662 uint num_values; /**< */ 663 ubyte[20] pad1; /**< */ 664 } 665 666 /** Opcode for xcb_render_create_picture. */ 667 enum XCB_RENDER_CREATE_PICTURE = 4; 668 669 /** 670 * @brief xcb_render_create_picture_request_t 671 **/ 672 struct xcb_render_create_picture_request_t { 673 ubyte major_opcode; /**< */ 674 ubyte minor_opcode; /**< */ 675 ushort length; /**< */ 676 xcb_render_picture_t pid; /**< */ 677 xcb_drawable_t drawable; /**< */ 678 xcb_render_pictformat_t format; /**< */ 679 uint value_mask; /**< */ 680 } 681 682 /** Opcode for xcb_render_change_picture. */ 683 enum XCB_RENDER_CHANGE_PICTURE = 5; 684 685 /** 686 * @brief xcb_render_change_picture_request_t 687 **/ 688 struct xcb_render_change_picture_request_t { 689 ubyte major_opcode; /**< */ 690 ubyte minor_opcode; /**< */ 691 ushort length; /**< */ 692 xcb_render_picture_t picture; /**< */ 693 uint value_mask; /**< */ 694 } 695 696 /** Opcode for xcb_render_set_picture_clip_rectangles. */ 697 enum XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES = 6; 698 699 /** 700 * @brief xcb_render_set_picture_clip_rectangles_request_t 701 **/ 702 struct xcb_render_set_picture_clip_rectangles_request_t { 703 ubyte major_opcode; /**< */ 704 ubyte minor_opcode; /**< */ 705 ushort length; /**< */ 706 xcb_render_picture_t picture; /**< */ 707 short clip_x_origin; /**< */ 708 short clip_y_origin; /**< */ 709 } 710 711 /** Opcode for xcb_render_free_picture. */ 712 enum XCB_RENDER_FREE_PICTURE = 7; 713 714 /** 715 * @brief xcb_render_free_picture_request_t 716 **/ 717 struct xcb_render_free_picture_request_t { 718 ubyte major_opcode; /**< */ 719 ubyte minor_opcode; /**< */ 720 ushort length; /**< */ 721 xcb_render_picture_t picture; /**< */ 722 } 723 724 /** Opcode for xcb_render_composite. */ 725 enum XCB_RENDER_COMPOSITE = 8; 726 727 /** 728 * @brief xcb_render_composite_request_t 729 **/ 730 struct xcb_render_composite_request_t { 731 ubyte major_opcode; /**< */ 732 ubyte minor_opcode; /**< */ 733 ushort length; /**< */ 734 ubyte op; /**< */ 735 ubyte[3] pad0; /**< */ 736 xcb_render_picture_t src; /**< */ 737 xcb_render_picture_t mask; /**< */ 738 xcb_render_picture_t dst; /**< */ 739 short src_x; /**< */ 740 short src_y; /**< */ 741 short mask_x; /**< */ 742 short mask_y; /**< */ 743 short dst_x; /**< */ 744 short dst_y; /**< */ 745 ushort width; /**< */ 746 ushort height; /**< */ 747 } 748 749 /** Opcode for xcb_render_trapezoids. */ 750 enum XCB_RENDER_TRAPEZOIDS = 10; 751 752 /** 753 * @brief xcb_render_trapezoids_request_t 754 **/ 755 struct xcb_render_trapezoids_request_t { 756 ubyte major_opcode; /**< */ 757 ubyte minor_opcode; /**< */ 758 ushort length; /**< */ 759 ubyte op; /**< */ 760 ubyte[3] pad0; /**< */ 761 xcb_render_picture_t src; /**< */ 762 xcb_render_picture_t dst; /**< */ 763 xcb_render_pictformat_t mask_format; /**< */ 764 short src_x; /**< */ 765 short src_y; /**< */ 766 } 767 768 /** Opcode for xcb_render_triangles. */ 769 enum XCB_RENDER_TRIANGLES = 11; 770 771 /** 772 * @brief xcb_render_triangles_request_t 773 **/ 774 struct xcb_render_triangles_request_t { 775 ubyte major_opcode; /**< */ 776 ubyte minor_opcode; /**< */ 777 ushort length; /**< */ 778 ubyte op; /**< */ 779 ubyte[3] pad0; /**< */ 780 xcb_render_picture_t src; /**< */ 781 xcb_render_picture_t dst; /**< */ 782 xcb_render_pictformat_t mask_format; /**< */ 783 short src_x; /**< */ 784 short src_y; /**< */ 785 } 786 787 /** Opcode for xcb_render_tri_strip. */ 788 enum XCB_RENDER_TRI_STRIP = 12; 789 790 /** 791 * @brief xcb_render_tri_strip_request_t 792 **/ 793 struct xcb_render_tri_strip_request_t { 794 ubyte major_opcode; /**< */ 795 ubyte minor_opcode; /**< */ 796 ushort length; /**< */ 797 ubyte op; /**< */ 798 ubyte[3] pad0; /**< */ 799 xcb_render_picture_t src; /**< */ 800 xcb_render_picture_t dst; /**< */ 801 xcb_render_pictformat_t mask_format; /**< */ 802 short src_x; /**< */ 803 short src_y; /**< */ 804 } 805 806 /** Opcode for xcb_render_tri_fan. */ 807 enum XCB_RENDER_TRI_FAN = 13; 808 809 /** 810 * @brief xcb_render_tri_fan_request_t 811 **/ 812 struct xcb_render_tri_fan_request_t { 813 ubyte major_opcode; /**< */ 814 ubyte minor_opcode; /**< */ 815 ushort length; /**< */ 816 ubyte op; /**< */ 817 ubyte[3] pad0; /**< */ 818 xcb_render_picture_t src; /**< */ 819 xcb_render_picture_t dst; /**< */ 820 xcb_render_pictformat_t mask_format; /**< */ 821 short src_x; /**< */ 822 short src_y; /**< */ 823 } 824 825 /** Opcode for xcb_render_create_glyph_set. */ 826 enum XCB_RENDER_CREATE_GLYPH_SET = 17; 827 828 /** 829 * @brief xcb_render_create_glyph_set_request_t 830 **/ 831 struct xcb_render_create_glyph_set_request_t { 832 ubyte major_opcode; /**< */ 833 ubyte minor_opcode; /**< */ 834 ushort length; /**< */ 835 xcb_render_glyphset_t gsid; /**< */ 836 xcb_render_pictformat_t format; /**< */ 837 } 838 839 /** Opcode for xcb_render_reference_glyph_set. */ 840 enum XCB_RENDER_REFERENCE_GLYPH_SET = 18; 841 842 /** 843 * @brief xcb_render_reference_glyph_set_request_t 844 **/ 845 struct xcb_render_reference_glyph_set_request_t { 846 ubyte major_opcode; /**< */ 847 ubyte minor_opcode; /**< */ 848 ushort length; /**< */ 849 xcb_render_glyphset_t gsid; /**< */ 850 xcb_render_glyphset_t existing; /**< */ 851 } 852 853 /** Opcode for xcb_render_free_glyph_set. */ 854 enum XCB_RENDER_FREE_GLYPH_SET = 19; 855 856 /** 857 * @brief xcb_render_free_glyph_set_request_t 858 **/ 859 struct xcb_render_free_glyph_set_request_t { 860 ubyte major_opcode; /**< */ 861 ubyte minor_opcode; /**< */ 862 ushort length; /**< */ 863 xcb_render_glyphset_t glyphset; /**< */ 864 } 865 866 /** Opcode for xcb_render_add_glyphs. */ 867 enum XCB_RENDER_ADD_GLYPHS = 20; 868 869 /** 870 * @brief xcb_render_add_glyphs_request_t 871 **/ 872 struct xcb_render_add_glyphs_request_t { 873 ubyte major_opcode; /**< */ 874 ubyte minor_opcode; /**< */ 875 ushort length; /**< */ 876 xcb_render_glyphset_t glyphset; /**< */ 877 uint glyphs_len; /**< */ 878 } 879 880 /** Opcode for xcb_render_free_glyphs. */ 881 enum XCB_RENDER_FREE_GLYPHS = 22; 882 883 /** 884 * @brief xcb_render_free_glyphs_request_t 885 **/ 886 struct xcb_render_free_glyphs_request_t { 887 ubyte major_opcode; /**< */ 888 ubyte minor_opcode; /**< */ 889 ushort length; /**< */ 890 xcb_render_glyphset_t glyphset; /**< */ 891 } 892 893 /** Opcode for xcb_render_composite_glyphs_8. */ 894 enum XCB_RENDER_COMPOSITE_GLYPHS_8 = 23; 895 896 /** 897 * @brief xcb_render_composite_glyphs_8_request_t 898 **/ 899 struct xcb_render_composite_glyphs_8_request_t { 900 ubyte major_opcode; /**< */ 901 ubyte minor_opcode; /**< */ 902 ushort length; /**< */ 903 ubyte op; /**< */ 904 ubyte[3] pad0; /**< */ 905 xcb_render_picture_t src; /**< */ 906 xcb_render_picture_t dst; /**< */ 907 xcb_render_pictformat_t mask_format; /**< */ 908 xcb_render_glyphset_t glyphset; /**< */ 909 short src_x; /**< */ 910 short src_y; /**< */ 911 } 912 913 /** Opcode for xcb_render_composite_glyphs_16. */ 914 enum XCB_RENDER_COMPOSITE_GLYPHS_16 = 24; 915 916 /** 917 * @brief xcb_render_composite_glyphs_16_request_t 918 **/ 919 struct xcb_render_composite_glyphs_16_request_t { 920 ubyte major_opcode; /**< */ 921 ubyte minor_opcode; /**< */ 922 ushort length; /**< */ 923 ubyte op; /**< */ 924 ubyte[3] pad0; /**< */ 925 xcb_render_picture_t src; /**< */ 926 xcb_render_picture_t dst; /**< */ 927 xcb_render_pictformat_t mask_format; /**< */ 928 xcb_render_glyphset_t glyphset; /**< */ 929 short src_x; /**< */ 930 short src_y; /**< */ 931 } 932 933 /** Opcode for xcb_render_composite_glyphs_32. */ 934 enum XCB_RENDER_COMPOSITE_GLYPHS_32 = 25; 935 936 /** 937 * @brief xcb_render_composite_glyphs_32_request_t 938 **/ 939 struct xcb_render_composite_glyphs_32_request_t { 940 ubyte major_opcode; /**< */ 941 ubyte minor_opcode; /**< */ 942 ushort length; /**< */ 943 ubyte op; /**< */ 944 ubyte[3] pad0; /**< */ 945 xcb_render_picture_t src; /**< */ 946 xcb_render_picture_t dst; /**< */ 947 xcb_render_pictformat_t mask_format; /**< */ 948 xcb_render_glyphset_t glyphset; /**< */ 949 short src_x; /**< */ 950 short src_y; /**< */ 951 } 952 953 /** Opcode for xcb_render_fill_rectangles. */ 954 enum XCB_RENDER_FILL_RECTANGLES = 26; 955 956 /** 957 * @brief xcb_render_fill_rectangles_request_t 958 **/ 959 struct xcb_render_fill_rectangles_request_t { 960 ubyte major_opcode; /**< */ 961 ubyte minor_opcode; /**< */ 962 ushort length; /**< */ 963 ubyte op; /**< */ 964 ubyte[3] pad0; /**< */ 965 xcb_render_picture_t dst; /**< */ 966 xcb_render_color_t color; /**< */ 967 } 968 969 /** Opcode for xcb_render_create_cursor. */ 970 enum XCB_RENDER_CREATE_CURSOR = 27; 971 972 /** 973 * @brief xcb_render_create_cursor_request_t 974 **/ 975 struct xcb_render_create_cursor_request_t { 976 ubyte major_opcode; /**< */ 977 ubyte minor_opcode; /**< */ 978 ushort length; /**< */ 979 xcb_cursor_t cid; /**< */ 980 xcb_render_picture_t source; /**< */ 981 ushort x; /**< */ 982 ushort y; /**< */ 983 } 984 985 /** 986 * @brief xcb_render_transform_t 987 **/ 988 struct xcb_render_transform_t { 989 xcb_render_fixed_t matrix11; /**< */ 990 xcb_render_fixed_t matrix12; /**< */ 991 xcb_render_fixed_t matrix13; /**< */ 992 xcb_render_fixed_t matrix21; /**< */ 993 xcb_render_fixed_t matrix22; /**< */ 994 xcb_render_fixed_t matrix23; /**< */ 995 xcb_render_fixed_t matrix31; /**< */ 996 xcb_render_fixed_t matrix32; /**< */ 997 xcb_render_fixed_t matrix33; /**< */ 998 } 999 1000 /** 1001 * @brief xcb_render_transform_iterator_t 1002 **/ 1003 struct xcb_render_transform_iterator_t { 1004 xcb_render_transform_t* data; /**< */ 1005 int rem; /**< */ 1006 int index; /**< */ 1007 } 1008 1009 /** Opcode for xcb_render_set_picture_transform. */ 1010 enum XCB_RENDER_SET_PICTURE_TRANSFORM = 28; 1011 1012 /** 1013 * @brief xcb_render_set_picture_transform_request_t 1014 **/ 1015 struct xcb_render_set_picture_transform_request_t { 1016 ubyte major_opcode; /**< */ 1017 ubyte minor_opcode; /**< */ 1018 ushort length; /**< */ 1019 xcb_render_picture_t picture; /**< */ 1020 xcb_render_transform_t transform; /**< */ 1021 } 1022 1023 /** 1024 * @brief xcb_render_query_filters_cookie_t 1025 **/ 1026 struct xcb_render_query_filters_cookie_t { 1027 uint sequence; /**< */ 1028 } 1029 1030 /** Opcode for xcb_render_query_filters. */ 1031 enum XCB_RENDER_QUERY_FILTERS = 29; 1032 1033 /** 1034 * @brief xcb_render_query_filters_request_t 1035 **/ 1036 struct xcb_render_query_filters_request_t { 1037 ubyte major_opcode; /**< */ 1038 ubyte minor_opcode; /**< */ 1039 ushort length; /**< */ 1040 xcb_drawable_t drawable; /**< */ 1041 } 1042 1043 /** 1044 * @brief xcb_render_query_filters_reply_t 1045 **/ 1046 struct xcb_render_query_filters_reply_t { 1047 ubyte response_type; /**< */ 1048 ubyte pad0; /**< */ 1049 ushort sequence; /**< */ 1050 uint length; /**< */ 1051 uint num_aliases; /**< */ 1052 uint num_filters; /**< */ 1053 ubyte[16] pad1; /**< */ 1054 } 1055 1056 /** Opcode for xcb_render_set_picture_filter. */ 1057 enum XCB_RENDER_SET_PICTURE_FILTER = 30; 1058 1059 /** 1060 * @brief xcb_render_set_picture_filter_request_t 1061 **/ 1062 struct xcb_render_set_picture_filter_request_t { 1063 ubyte major_opcode; /**< */ 1064 ubyte minor_opcode; /**< */ 1065 ushort length; /**< */ 1066 xcb_render_picture_t picture; /**< */ 1067 ushort filter_len; /**< */ 1068 ubyte[2] pad0; /**< */ 1069 } 1070 1071 /** 1072 * @brief xcb_render_animcursorelt_t 1073 **/ 1074 struct xcb_render_animcursorelt_t { 1075 xcb_cursor_t cursor; /**< */ 1076 uint delay; /**< */ 1077 } 1078 1079 /** 1080 * @brief xcb_render_animcursorelt_iterator_t 1081 **/ 1082 struct xcb_render_animcursorelt_iterator_t { 1083 xcb_render_animcursorelt_t* data; /**< */ 1084 int rem; /**< */ 1085 int index; /**< */ 1086 } 1087 1088 /** Opcode for xcb_render_create_anim_cursor. */ 1089 enum XCB_RENDER_CREATE_ANIM_CURSOR = 31; 1090 1091 /** 1092 * @brief xcb_render_create_anim_cursor_request_t 1093 **/ 1094 struct xcb_render_create_anim_cursor_request_t { 1095 ubyte major_opcode; /**< */ 1096 ubyte minor_opcode; /**< */ 1097 ushort length; /**< */ 1098 xcb_cursor_t cid; /**< */ 1099 } 1100 1101 /** 1102 * @brief xcb_render_spanfix_t 1103 **/ 1104 struct xcb_render_spanfix_t { 1105 xcb_render_fixed_t l; /**< */ 1106 xcb_render_fixed_t r; /**< */ 1107 xcb_render_fixed_t y; /**< */ 1108 } 1109 1110 /** 1111 * @brief xcb_render_spanfix_iterator_t 1112 **/ 1113 struct xcb_render_spanfix_iterator_t { 1114 xcb_render_spanfix_t* data; /**< */ 1115 int rem; /**< */ 1116 int index; /**< */ 1117 } 1118 1119 /** 1120 * @brief xcb_render_trap_t 1121 **/ 1122 struct xcb_render_trap_t { 1123 xcb_render_spanfix_t top; /**< */ 1124 xcb_render_spanfix_t bot; /**< */ 1125 } 1126 1127 /** 1128 * @brief xcb_render_trap_iterator_t 1129 **/ 1130 struct xcb_render_trap_iterator_t { 1131 xcb_render_trap_t* data; /**< */ 1132 int rem; /**< */ 1133 int index; /**< */ 1134 } 1135 1136 /** Opcode for xcb_render_add_traps. */ 1137 enum XCB_RENDER_ADD_TRAPS = 32; 1138 1139 /** 1140 * @brief xcb_render_add_traps_request_t 1141 **/ 1142 struct xcb_render_add_traps_request_t { 1143 ubyte major_opcode; /**< */ 1144 ubyte minor_opcode; /**< */ 1145 ushort length; /**< */ 1146 xcb_render_picture_t picture; /**< */ 1147 short x_off; /**< */ 1148 short y_off; /**< */ 1149 } 1150 1151 /** Opcode for xcb_render_create_solid_fill. */ 1152 enum XCB_RENDER_CREATE_SOLID_FILL = 33; 1153 1154 /** 1155 * @brief xcb_render_create_solid_fill_request_t 1156 **/ 1157 struct xcb_render_create_solid_fill_request_t { 1158 ubyte major_opcode; /**< */ 1159 ubyte minor_opcode; /**< */ 1160 ushort length; /**< */ 1161 xcb_render_picture_t picture; /**< */ 1162 xcb_render_color_t color; /**< */ 1163 } 1164 1165 /** Opcode for xcb_render_create_linear_gradient. */ 1166 enum XCB_RENDER_CREATE_LINEAR_GRADIENT = 34; 1167 1168 /** 1169 * @brief xcb_render_create_linear_gradient_request_t 1170 **/ 1171 struct xcb_render_create_linear_gradient_request_t { 1172 ubyte major_opcode; /**< */ 1173 ubyte minor_opcode; /**< */ 1174 ushort length; /**< */ 1175 xcb_render_picture_t picture; /**< */ 1176 xcb_render_pointfix_t p1; /**< */ 1177 xcb_render_pointfix_t p2; /**< */ 1178 uint num_stops; /**< */ 1179 } 1180 1181 /** Opcode for xcb_render_create_radial_gradient. */ 1182 enum XCB_RENDER_CREATE_RADIAL_GRADIENT = 35; 1183 1184 /** 1185 * @brief xcb_render_create_radial_gradient_request_t 1186 **/ 1187 struct xcb_render_create_radial_gradient_request_t { 1188 ubyte major_opcode; /**< */ 1189 ubyte minor_opcode; /**< */ 1190 ushort length; /**< */ 1191 xcb_render_picture_t picture; /**< */ 1192 xcb_render_pointfix_t inner; /**< */ 1193 xcb_render_pointfix_t outer; /**< */ 1194 xcb_render_fixed_t inner_radius; /**< */ 1195 xcb_render_fixed_t outer_radius; /**< */ 1196 uint num_stops; /**< */ 1197 } 1198 1199 /** Opcode for xcb_render_create_conical_gradient. */ 1200 enum XCB_RENDER_CREATE_CONICAL_GRADIENT = 36; 1201 1202 /** 1203 * @brief xcb_render_create_conical_gradient_request_t 1204 **/ 1205 struct xcb_render_create_conical_gradient_request_t { 1206 ubyte major_opcode; /**< */ 1207 ubyte minor_opcode; /**< */ 1208 ushort length; /**< */ 1209 xcb_render_picture_t picture; /**< */ 1210 xcb_render_pointfix_t center; /**< */ 1211 xcb_render_fixed_t angle; /**< */ 1212 uint num_stops; /**< */ 1213 } 1214 1215 /** 1216 * Get the next element of the iterator 1217 * @param i Pointer to a xcb_render_glyph_iterator_t 1218 * 1219 * Get the next element in the iterator. The member rem is 1220 * decreased by one. The member data points to the next 1221 * element. The member index is increased by sizeof(xcb_render_glyph_t) 1222 */ 1223 void xcb_render_glyph_next(xcb_render_glyph_iterator_t* i /**< */ ); 1224 1225 /** 1226 * Return the iterator pointing to the last element 1227 * @param i An xcb_render_glyph_iterator_t 1228 * @return The iterator pointing to the last element 1229 * 1230 * Set the current element in the iterator to the last element. 1231 * The member rem is set to 0. The member data points to the 1232 * last element. 1233 */ 1234 xcb_generic_iterator_t xcb_render_glyph_end(xcb_render_glyph_iterator_t i /**< */ ); 1235 1236 /** 1237 * Get the next element of the iterator 1238 * @param i Pointer to a xcb_render_glyphset_iterator_t 1239 * 1240 * Get the next element in the iterator. The member rem is 1241 * decreased by one. The member data points to the next 1242 * element. The member index is increased by sizeof(xcb_render_glyphset_t) 1243 */ 1244 void xcb_render_glyphset_next(xcb_render_glyphset_iterator_t* i /**< */ ); 1245 1246 /** 1247 * Return the iterator pointing to the last element 1248 * @param i An xcb_render_glyphset_iterator_t 1249 * @return The iterator pointing to the last element 1250 * 1251 * Set the current element in the iterator to the last element. 1252 * The member rem is set to 0. The member data points to the 1253 * last element. 1254 */ 1255 xcb_generic_iterator_t xcb_render_glyphset_end(xcb_render_glyphset_iterator_t i /**< */ ); 1256 1257 /** 1258 * Get the next element of the iterator 1259 * @param i Pointer to a xcb_render_picture_iterator_t 1260 * 1261 * Get the next element in the iterator. The member rem is 1262 * decreased by one. The member data points to the next 1263 * element. The member index is increased by sizeof(xcb_render_picture_t) 1264 */ 1265 void xcb_render_picture_next(xcb_render_picture_iterator_t* i /**< */ ); 1266 1267 /** 1268 * Return the iterator pointing to the last element 1269 * @param i An xcb_render_picture_iterator_t 1270 * @return The iterator pointing to the last element 1271 * 1272 * Set the current element in the iterator to the last element. 1273 * The member rem is set to 0. The member data points to the 1274 * last element. 1275 */ 1276 xcb_generic_iterator_t xcb_render_picture_end(xcb_render_picture_iterator_t i /**< */ ); 1277 1278 /** 1279 * Get the next element of the iterator 1280 * @param i Pointer to a xcb_render_pictformat_iterator_t 1281 * 1282 * Get the next element in the iterator. The member rem is 1283 * decreased by one. The member data points to the next 1284 * element. The member index is increased by sizeof(xcb_render_pictformat_t) 1285 */ 1286 void xcb_render_pictformat_next(xcb_render_pictformat_iterator_t* i /**< */ ); 1287 1288 /** 1289 * Return the iterator pointing to the last element 1290 * @param i An xcb_render_pictformat_iterator_t 1291 * @return The iterator pointing to the last element 1292 * 1293 * Set the current element in the iterator to the last element. 1294 * The member rem is set to 0. The member data points to the 1295 * last element. 1296 */ 1297 xcb_generic_iterator_t xcb_render_pictformat_end(xcb_render_pictformat_iterator_t i /**< */ ); 1298 1299 /** 1300 * Get the next element of the iterator 1301 * @param i Pointer to a xcb_render_fixed_iterator_t 1302 * 1303 * Get the next element in the iterator. The member rem is 1304 * decreased by one. The member data points to the next 1305 * element. The member index is increased by sizeof(xcb_render_fixed_t) 1306 */ 1307 void xcb_render_fixed_next(xcb_render_fixed_iterator_t* i /**< */ ); 1308 1309 /** 1310 * Return the iterator pointing to the last element 1311 * @param i An xcb_render_fixed_iterator_t 1312 * @return The iterator pointing to the last element 1313 * 1314 * Set the current element in the iterator to the last element. 1315 * The member rem is set to 0. The member data points to the 1316 * last element. 1317 */ 1318 xcb_generic_iterator_t xcb_render_fixed_end(xcb_render_fixed_iterator_t i /**< */ ); 1319 1320 /** 1321 * Get the next element of the iterator 1322 * @param i Pointer to a xcb_render_directformat_iterator_t 1323 * 1324 * Get the next element in the iterator. The member rem is 1325 * decreased by one. The member data points to the next 1326 * element. The member index is increased by sizeof(xcb_render_directformat_t) 1327 */ 1328 void xcb_render_directformat_next(xcb_render_directformat_iterator_t* i /**< */ ); 1329 1330 /** 1331 * Return the iterator pointing to the last element 1332 * @param i An xcb_render_directformat_iterator_t 1333 * @return The iterator pointing to the last element 1334 * 1335 * Set the current element in the iterator to the last element. 1336 * The member rem is set to 0. The member data points to the 1337 * last element. 1338 */ 1339 xcb_generic_iterator_t xcb_render_directformat_end(xcb_render_directformat_iterator_t i /**< */ ); 1340 1341 /** 1342 * Get the next element of the iterator 1343 * @param i Pointer to a xcb_render_pictforminfo_iterator_t 1344 * 1345 * Get the next element in the iterator. The member rem is 1346 * decreased by one. The member data points to the next 1347 * element. The member index is increased by sizeof(xcb_render_pictforminfo_t) 1348 */ 1349 void xcb_render_pictforminfo_next(xcb_render_pictforminfo_iterator_t* i /**< */ ); 1350 1351 /** 1352 * Return the iterator pointing to the last element 1353 * @param i An xcb_render_pictforminfo_iterator_t 1354 * @return The iterator pointing to the last element 1355 * 1356 * Set the current element in the iterator to the last element. 1357 * The member rem is set to 0. The member data points to the 1358 * last element. 1359 */ 1360 xcb_generic_iterator_t xcb_render_pictforminfo_end(xcb_render_pictforminfo_iterator_t i /**< */ ); 1361 1362 /** 1363 * Get the next element of the iterator 1364 * @param i Pointer to a xcb_render_pictvisual_iterator_t 1365 * 1366 * Get the next element in the iterator. The member rem is 1367 * decreased by one. The member data points to the next 1368 * element. The member index is increased by sizeof(xcb_render_pictvisual_t) 1369 */ 1370 void xcb_render_pictvisual_next(xcb_render_pictvisual_iterator_t* i /**< */ ); 1371 1372 /** 1373 * Return the iterator pointing to the last element 1374 * @param i An xcb_render_pictvisual_iterator_t 1375 * @return The iterator pointing to the last element 1376 * 1377 * Set the current element in the iterator to the last element. 1378 * The member rem is set to 0. The member data points to the 1379 * last element. 1380 */ 1381 xcb_generic_iterator_t xcb_render_pictvisual_end(xcb_render_pictvisual_iterator_t i /**< */ ); 1382 1383 int xcb_render_pictdepth_sizeof(const void* _buffer /**< */ ); 1384 1385 xcb_render_pictvisual_t* xcb_render_pictdepth_visuals(const xcb_render_pictdepth_t* R /**< */ ); 1386 1387 int xcb_render_pictdepth_visuals_length(const xcb_render_pictdepth_t* R /**< */ ); 1388 1389 xcb_render_pictvisual_iterator_t xcb_render_pictdepth_visuals_iterator(const xcb_render_pictdepth_t* R /**< */ ); 1390 1391 /** 1392 * Get the next element of the iterator 1393 * @param i Pointer to a xcb_render_pictdepth_iterator_t 1394 * 1395 * Get the next element in the iterator. The member rem is 1396 * decreased by one. The member data points to the next 1397 * element. The member index is increased by sizeof(xcb_render_pictdepth_t) 1398 */ 1399 void xcb_render_pictdepth_next(xcb_render_pictdepth_iterator_t* i /**< */ ); 1400 1401 /** 1402 * Return the iterator pointing to the last element 1403 * @param i An xcb_render_pictdepth_iterator_t 1404 * @return The iterator pointing to the last element 1405 * 1406 * Set the current element in the iterator to the last element. 1407 * The member rem is set to 0. The member data points to the 1408 * last element. 1409 */ 1410 xcb_generic_iterator_t xcb_render_pictdepth_end(xcb_render_pictdepth_iterator_t i /**< */ ); 1411 1412 int xcb_render_pictscreen_sizeof(const void* _buffer /**< */ ); 1413 1414 int xcb_render_pictscreen_depths_length(const xcb_render_pictscreen_t* R /**< */ ); 1415 1416 xcb_render_pictdepth_iterator_t xcb_render_pictscreen_depths_iterator(const xcb_render_pictscreen_t* R /**< */ ); 1417 1418 /** 1419 * Get the next element of the iterator 1420 * @param i Pointer to a xcb_render_pictscreen_iterator_t 1421 * 1422 * Get the next element in the iterator. The member rem is 1423 * decreased by one. The member data points to the next 1424 * element. The member index is increased by sizeof(xcb_render_pictscreen_t) 1425 */ 1426 void xcb_render_pictscreen_next(xcb_render_pictscreen_iterator_t* i /**< */ ); 1427 1428 /** 1429 * Return the iterator pointing to the last element 1430 * @param i An xcb_render_pictscreen_iterator_t 1431 * @return The iterator pointing to the last element 1432 * 1433 * Set the current element in the iterator to the last element. 1434 * The member rem is set to 0. The member data points to the 1435 * last element. 1436 */ 1437 xcb_generic_iterator_t xcb_render_pictscreen_end(xcb_render_pictscreen_iterator_t i /**< */ ); 1438 1439 /** 1440 * Get the next element of the iterator 1441 * @param i Pointer to a xcb_render_indexvalue_iterator_t 1442 * 1443 * Get the next element in the iterator. The member rem is 1444 * decreased by one. The member data points to the next 1445 * element. The member index is increased by sizeof(xcb_render_indexvalue_t) 1446 */ 1447 void xcb_render_indexvalue_next(xcb_render_indexvalue_iterator_t* i /**< */ ); 1448 1449 /** 1450 * Return the iterator pointing to the last element 1451 * @param i An xcb_render_indexvalue_iterator_t 1452 * @return The iterator pointing to the last element 1453 * 1454 * Set the current element in the iterator to the last element. 1455 * The member rem is set to 0. The member data points to the 1456 * last element. 1457 */ 1458 xcb_generic_iterator_t xcb_render_indexvalue_end(xcb_render_indexvalue_iterator_t i /**< */ ); 1459 1460 /** 1461 * Get the next element of the iterator 1462 * @param i Pointer to a xcb_render_color_iterator_t 1463 * 1464 * Get the next element in the iterator. The member rem is 1465 * decreased by one. The member data points to the next 1466 * element. The member index is increased by sizeof(xcb_render_color_t) 1467 */ 1468 void xcb_render_color_next(xcb_render_color_iterator_t* i /**< */ ); 1469 1470 /** 1471 * Return the iterator pointing to the last element 1472 * @param i An xcb_render_color_iterator_t 1473 * @return The iterator pointing to the last element 1474 * 1475 * Set the current element in the iterator to the last element. 1476 * The member rem is set to 0. The member data points to the 1477 * last element. 1478 */ 1479 xcb_generic_iterator_t xcb_render_color_end(xcb_render_color_iterator_t i /**< */ ); 1480 1481 /** 1482 * Get the next element of the iterator 1483 * @param i Pointer to a xcb_render_pointfix_iterator_t 1484 * 1485 * Get the next element in the iterator. The member rem is 1486 * decreased by one. The member data points to the next 1487 * element. The member index is increased by sizeof(xcb_render_pointfix_t) 1488 */ 1489 void xcb_render_pointfix_next(xcb_render_pointfix_iterator_t* i /**< */ ); 1490 1491 /** 1492 * Return the iterator pointing to the last element 1493 * @param i An xcb_render_pointfix_iterator_t 1494 * @return The iterator pointing to the last element 1495 * 1496 * Set the current element in the iterator to the last element. 1497 * The member rem is set to 0. The member data points to the 1498 * last element. 1499 */ 1500 xcb_generic_iterator_t xcb_render_pointfix_end(xcb_render_pointfix_iterator_t i /**< */ ); 1501 1502 /** 1503 * Get the next element of the iterator 1504 * @param i Pointer to a xcb_render_linefix_iterator_t 1505 * 1506 * Get the next element in the iterator. The member rem is 1507 * decreased by one. The member data points to the next 1508 * element. The member index is increased by sizeof(xcb_render_linefix_t) 1509 */ 1510 void xcb_render_linefix_next(xcb_render_linefix_iterator_t* i /**< */ ); 1511 1512 /** 1513 * Return the iterator pointing to the last element 1514 * @param i An xcb_render_linefix_iterator_t 1515 * @return The iterator pointing to the last element 1516 * 1517 * Set the current element in the iterator to the last element. 1518 * The member rem is set to 0. The member data points to the 1519 * last element. 1520 */ 1521 xcb_generic_iterator_t xcb_render_linefix_end(xcb_render_linefix_iterator_t i /**< */ ); 1522 1523 /** 1524 * Get the next element of the iterator 1525 * @param i Pointer to a xcb_render_triangle_iterator_t 1526 * 1527 * Get the next element in the iterator. The member rem is 1528 * decreased by one. The member data points to the next 1529 * element. The member index is increased by sizeof(xcb_render_triangle_t) 1530 */ 1531 void xcb_render_triangle_next(xcb_render_triangle_iterator_t* i /**< */ ); 1532 1533 /** 1534 * Return the iterator pointing to the last element 1535 * @param i An xcb_render_triangle_iterator_t 1536 * @return The iterator pointing to the last element 1537 * 1538 * Set the current element in the iterator to the last element. 1539 * The member rem is set to 0. The member data points to the 1540 * last element. 1541 */ 1542 xcb_generic_iterator_t xcb_render_triangle_end(xcb_render_triangle_iterator_t i /**< */ ); 1543 1544 /** 1545 * Get the next element of the iterator 1546 * @param i Pointer to a xcb_render_trapezoid_iterator_t 1547 * 1548 * Get the next element in the iterator. The member rem is 1549 * decreased by one. The member data points to the next 1550 * element. The member index is increased by sizeof(xcb_render_trapezoid_t) 1551 */ 1552 void xcb_render_trapezoid_next(xcb_render_trapezoid_iterator_t* i /**< */ ); 1553 1554 /** 1555 * Return the iterator pointing to the last element 1556 * @param i An xcb_render_trapezoid_iterator_t 1557 * @return The iterator pointing to the last element 1558 * 1559 * Set the current element in the iterator to the last element. 1560 * The member rem is set to 0. The member data points to the 1561 * last element. 1562 */ 1563 xcb_generic_iterator_t xcb_render_trapezoid_end(xcb_render_trapezoid_iterator_t i /**< */ ); 1564 1565 /** 1566 * Get the next element of the iterator 1567 * @param i Pointer to a xcb_render_glyphinfo_iterator_t 1568 * 1569 * Get the next element in the iterator. The member rem is 1570 * decreased by one. The member data points to the next 1571 * element. The member index is increased by sizeof(xcb_render_glyphinfo_t) 1572 */ 1573 void xcb_render_glyphinfo_next(xcb_render_glyphinfo_iterator_t* i /**< */ ); 1574 1575 /** 1576 * Return the iterator pointing to the last element 1577 * @param i An xcb_render_glyphinfo_iterator_t 1578 * @return The iterator pointing to the last element 1579 * 1580 * Set the current element in the iterator to the last element. 1581 * The member rem is set to 0. The member data points to the 1582 * last element. 1583 */ 1584 xcb_generic_iterator_t xcb_render_glyphinfo_end(xcb_render_glyphinfo_iterator_t i /**< */ ); 1585 1586 /** 1587 * 1588 * @param c The connection 1589 * @return A cookie 1590 * 1591 * Delivers a request to the X server. 1592 * 1593 */ 1594 xcb_render_query_version_cookie_t xcb_render_query_version(xcb_connection_t* c /**< */ , uint client_major_version /**< */ , 1595 uint client_minor_version /**< */ ); 1596 1597 /** 1598 * 1599 * @param c The connection 1600 * @return A cookie 1601 * 1602 * Delivers a request to the X server. 1603 * 1604 * This form can be used only if the request will cause 1605 * a reply to be generated. Any returned error will be 1606 * placed in the event queue. 1607 */ 1608 xcb_render_query_version_cookie_t xcb_render_query_version_unchecked(xcb_connection_t* c /**< */ , 1609 uint client_major_version /**< */ , uint client_minor_version /**< */ ); 1610 1611 /** 1612 * Return the reply 1613 * @param c The connection 1614 * @param cookie The cookie 1615 * @param e The xcb_generic_error_t supplied 1616 * 1617 * Returns the reply of the request asked by 1618 * 1619 * The parameter @p e supplied to this function must be NULL if 1620 * xcb_render_query_version_unchecked(). is used. 1621 * Otherwise, it stores the error if any. 1622 * 1623 * The returned value must be freed by the caller using free(). 1624 */ 1625 xcb_render_query_version_reply_t* xcb_render_query_version_reply(xcb_connection_t* c /**< */ , 1626 xcb_render_query_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1627 1628 int xcb_render_query_pict_formats_sizeof(const void* _buffer /**< */ ); 1629 1630 /** 1631 * 1632 * @param c The connection 1633 * @return A cookie 1634 * 1635 * Delivers a request to the X server. 1636 * 1637 */ 1638 xcb_render_query_pict_formats_cookie_t xcb_render_query_pict_formats(xcb_connection_t* c /**< */ ); 1639 1640 /** 1641 * 1642 * @param c The connection 1643 * @return A cookie 1644 * 1645 * Delivers a request to the X server. 1646 * 1647 * This form can be used only if the request will cause 1648 * a reply to be generated. Any returned error will be 1649 * placed in the event queue. 1650 */ 1651 xcb_render_query_pict_formats_cookie_t xcb_render_query_pict_formats_unchecked(xcb_connection_t* c /**< */ ); 1652 1653 xcb_render_pictforminfo_t* xcb_render_query_pict_formats_formats(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1654 1655 int xcb_render_query_pict_formats_formats_length(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1656 1657 xcb_render_pictforminfo_iterator_t xcb_render_query_pict_formats_formats_iterator(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1658 1659 int xcb_render_query_pict_formats_screens_length(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1660 1661 xcb_render_pictscreen_iterator_t xcb_render_query_pict_formats_screens_iterator(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1662 1663 uint* xcb_render_query_pict_formats_subpixels(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1664 1665 int xcb_render_query_pict_formats_subpixels_length(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1666 1667 xcb_generic_iterator_t xcb_render_query_pict_formats_subpixels_end(const xcb_render_query_pict_formats_reply_t* R /**< */ ); 1668 1669 /** 1670 * Return the reply 1671 * @param c The connection 1672 * @param cookie The cookie 1673 * @param e The xcb_generic_error_t supplied 1674 * 1675 * Returns the reply of the request asked by 1676 * 1677 * The parameter @p e supplied to this function must be NULL if 1678 * xcb_render_query_pict_formats_unchecked(). is used. 1679 * Otherwise, it stores the error if any. 1680 * 1681 * The returned value must be freed by the caller using free(). 1682 */ 1683 xcb_render_query_pict_formats_reply_t* xcb_render_query_pict_formats_reply(xcb_connection_t* c /**< */ , 1684 xcb_render_query_pict_formats_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1685 1686 int xcb_render_query_pict_index_values_sizeof(const void* _buffer /**< */ ); 1687 1688 /** 1689 * 1690 * @param c The connection 1691 * @return A cookie 1692 * 1693 * Delivers a request to the X server. 1694 * 1695 */ 1696 xcb_render_query_pict_index_values_cookie_t xcb_render_query_pict_index_values(xcb_connection_t* c /**< */ , xcb_render_pictformat_t format /**< */ ); 1697 1698 /** 1699 * 1700 * @param c The connection 1701 * @return A cookie 1702 * 1703 * Delivers a request to the X server. 1704 * 1705 * This form can be used only if the request will cause 1706 * a reply to be generated. Any returned error will be 1707 * placed in the event queue. 1708 */ 1709 xcb_render_query_pict_index_values_cookie_t xcb_render_query_pict_index_values_unchecked(xcb_connection_t* c /**< */ , 1710 xcb_render_pictformat_t format /**< */ ); 1711 1712 xcb_render_indexvalue_t* xcb_render_query_pict_index_values_values(const xcb_render_query_pict_index_values_reply_t* R /**< */ ); 1713 1714 int xcb_render_query_pict_index_values_values_length(const xcb_render_query_pict_index_values_reply_t* R /**< */ ); 1715 1716 xcb_render_indexvalue_iterator_t xcb_render_query_pict_index_values_values_iterator(const xcb_render_query_pict_index_values_reply_t* R /**< */ ); 1717 1718 /** 1719 * Return the reply 1720 * @param c The connection 1721 * @param cookie The cookie 1722 * @param e The xcb_generic_error_t supplied 1723 * 1724 * Returns the reply of the request asked by 1725 * 1726 * The parameter @p e supplied to this function must be NULL if 1727 * xcb_render_query_pict_index_values_unchecked(). is used. 1728 * Otherwise, it stores the error if any. 1729 * 1730 * The returned value must be freed by the caller using free(). 1731 */ 1732 xcb_render_query_pict_index_values_reply_t* xcb_render_query_pict_index_values_reply(xcb_connection_t* c /**< */ , 1733 xcb_render_query_pict_index_values_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1734 1735 int xcb_render_create_picture_sizeof(const void* _buffer /**< */ ); 1736 1737 /** 1738 * 1739 * @param c The connection 1740 * @return A cookie 1741 * 1742 * Delivers a request to the X server. 1743 * 1744 * This form can be used only if the request will not cause 1745 * a reply to be generated. Any returned error will be 1746 * saved for handling by xcb_request_check(). 1747 */ 1748 xcb_void_cookie_t xcb_render_create_picture_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t pid /**< */ , xcb_drawable_t drawable /**< */ , 1749 xcb_render_pictformat_t format /**< */ , uint value_mask /**< */ , const uint* value_list /**< */ ); 1750 1751 /** 1752 * 1753 * @param c The connection 1754 * @return A cookie 1755 * 1756 * Delivers a request to the X server. 1757 * 1758 */ 1759 xcb_void_cookie_t xcb_render_create_picture(xcb_connection_t* c /**< */ , xcb_render_picture_t pid /**< */ , xcb_drawable_t drawable /**< */ , 1760 xcb_render_pictformat_t format /**< */ , uint value_mask /**< */ , const uint* value_list /**< */ ); 1761 1762 int xcb_render_change_picture_sizeof(const void* _buffer /**< */ ); 1763 1764 /** 1765 * 1766 * @param c The connection 1767 * @return A cookie 1768 * 1769 * Delivers a request to the X server. 1770 * 1771 * This form can be used only if the request will not cause 1772 * a reply to be generated. Any returned error will be 1773 * saved for handling by xcb_request_check(). 1774 */ 1775 xcb_void_cookie_t xcb_render_change_picture_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 1776 uint value_mask /**< */ , const uint* value_list /**< */ ); 1777 1778 /** 1779 * 1780 * @param c The connection 1781 * @return A cookie 1782 * 1783 * Delivers a request to the X server. 1784 * 1785 */ 1786 xcb_void_cookie_t xcb_render_change_picture(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 1787 uint value_mask /**< */ , const uint* value_list /**< */ ); 1788 1789 int xcb_render_set_picture_clip_rectangles_sizeof(const void* _buffer /**< */ , uint rectangles_len /**< */ ); 1790 1791 /** 1792 * 1793 * @param c The connection 1794 * @return A cookie 1795 * 1796 * Delivers a request to the X server. 1797 * 1798 * This form can be used only if the request will not cause 1799 * a reply to be generated. Any returned error will be 1800 * saved for handling by xcb_request_check(). 1801 */ 1802 xcb_void_cookie_t xcb_render_set_picture_clip_rectangles_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 1803 short clip_x_origin /**< */ , short clip_y_origin /**< */ , uint rectangles_len /**< */ , const xcb_rectangle_t* rectangles /**< */ ); 1804 1805 /** 1806 * 1807 * @param c The connection 1808 * @return A cookie 1809 * 1810 * Delivers a request to the X server. 1811 * 1812 */ 1813 xcb_void_cookie_t xcb_render_set_picture_clip_rectangles(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 1814 short clip_x_origin /**< */ , short clip_y_origin /**< */ , uint rectangles_len /**< */ , const xcb_rectangle_t* rectangles /**< */ ); 1815 1816 /** 1817 * 1818 * @param c The connection 1819 * @return A cookie 1820 * 1821 * Delivers a request to the X server. 1822 * 1823 * This form can be used only if the request will not cause 1824 * a reply to be generated. Any returned error will be 1825 * saved for handling by xcb_request_check(). 1826 */ 1827 xcb_void_cookie_t xcb_render_free_picture_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ ); 1828 1829 /** 1830 * 1831 * @param c The connection 1832 * @return A cookie 1833 * 1834 * Delivers a request to the X server. 1835 * 1836 */ 1837 xcb_void_cookie_t xcb_render_free_picture(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ ); 1838 1839 /** 1840 * 1841 * @param c The connection 1842 * @return A cookie 1843 * 1844 * Delivers a request to the X server. 1845 * 1846 * This form can be used only if the request will not cause 1847 * a reply to be generated. Any returned error will be 1848 * saved for handling by xcb_request_check(). 1849 */ 1850 xcb_void_cookie_t xcb_render_composite_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 1851 xcb_render_picture_t mask /**< */ , xcb_render_picture_t dst /**< */ , short src_x /**< */ , short src_y /**< */ , short mask_x /**< */ , short mask_y /**< */ , 1852 short dst_x /**< */ , short dst_y /**< */ , ushort width /**< */ , ushort height /**< */ ); 1853 1854 /** 1855 * 1856 * @param c The connection 1857 * @return A cookie 1858 * 1859 * Delivers a request to the X server. 1860 * 1861 */ 1862 xcb_void_cookie_t xcb_render_composite(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , xcb_render_picture_t mask /**< */ , 1863 xcb_render_picture_t dst /**< */ , short src_x /**< */ , short src_y /**< */ , short mask_x /**< */ , short mask_y /**< */ , short dst_x /**< */ , short dst_y /**< */ , 1864 ushort width /**< */ , ushort height /**< */ ); 1865 1866 int xcb_render_trapezoids_sizeof(const void* _buffer /**< */ , uint traps_len /**< */ ); 1867 1868 /** 1869 * 1870 * @param c The connection 1871 * @return A cookie 1872 * 1873 * Delivers a request to the X server. 1874 * 1875 * This form can be used only if the request will not cause 1876 * a reply to be generated. Any returned error will be 1877 * saved for handling by xcb_request_check(). 1878 */ 1879 xcb_void_cookie_t xcb_render_trapezoids_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 1880 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint traps_len /**< */ , 1881 const xcb_render_trapezoid_t* traps /**< */ ); 1882 1883 /** 1884 * 1885 * @param c The connection 1886 * @return A cookie 1887 * 1888 * Delivers a request to the X server. 1889 * 1890 */ 1891 xcb_void_cookie_t xcb_render_trapezoids(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , xcb_render_picture_t dst /**< */ , 1892 xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint traps_len /**< */ , 1893 const xcb_render_trapezoid_t* traps /**< */ ); 1894 1895 int xcb_render_triangles_sizeof(const void* _buffer /**< */ , uint triangles_len /**< */ ); 1896 1897 /** 1898 * 1899 * @param c The connection 1900 * @return A cookie 1901 * 1902 * Delivers a request to the X server. 1903 * 1904 * This form can be used only if the request will not cause 1905 * a reply to be generated. Any returned error will be 1906 * saved for handling by xcb_request_check(). 1907 */ 1908 xcb_void_cookie_t xcb_render_triangles_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 1909 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint triangles_len /**< */ , 1910 const xcb_render_triangle_t* triangles /**< */ ); 1911 1912 /** 1913 * 1914 * @param c The connection 1915 * @return A cookie 1916 * 1917 * Delivers a request to the X server. 1918 * 1919 */ 1920 xcb_void_cookie_t xcb_render_triangles(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , xcb_render_picture_t dst /**< */ , 1921 xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint triangles_len /**< */ , 1922 const xcb_render_triangle_t* triangles /**< */ ); 1923 1924 int xcb_render_tri_strip_sizeof(const void* _buffer /**< */ , uint points_len /**< */ ); 1925 1926 /** 1927 * 1928 * @param c The connection 1929 * @return A cookie 1930 * 1931 * Delivers a request to the X server. 1932 * 1933 * This form can be used only if the request will not cause 1934 * a reply to be generated. Any returned error will be 1935 * saved for handling by xcb_request_check(). 1936 */ 1937 xcb_void_cookie_t xcb_render_tri_strip_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 1938 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint points_len /**< */ , 1939 const xcb_render_pointfix_t* points /**< */ ); 1940 1941 /** 1942 * 1943 * @param c The connection 1944 * @return A cookie 1945 * 1946 * Delivers a request to the X server. 1947 * 1948 */ 1949 xcb_void_cookie_t xcb_render_tri_strip(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , xcb_render_picture_t dst /**< */ , 1950 xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint points_len /**< */ , 1951 const xcb_render_pointfix_t* points /**< */ ); 1952 1953 int xcb_render_tri_fan_sizeof(const void* _buffer /**< */ , uint points_len /**< */ ); 1954 1955 /** 1956 * 1957 * @param c The connection 1958 * @return A cookie 1959 * 1960 * Delivers a request to the X server. 1961 * 1962 * This form can be used only if the request will not cause 1963 * a reply to be generated. Any returned error will be 1964 * saved for handling by xcb_request_check(). 1965 */ 1966 xcb_void_cookie_t xcb_render_tri_fan_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 1967 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint points_len /**< */ , 1968 const xcb_render_pointfix_t* points /**< */ ); 1969 1970 /** 1971 * 1972 * @param c The connection 1973 * @return A cookie 1974 * 1975 * Delivers a request to the X server. 1976 * 1977 */ 1978 xcb_void_cookie_t xcb_render_tri_fan(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , xcb_render_picture_t dst /**< */ , 1979 xcb_render_pictformat_t mask_format /**< */ , short src_x /**< */ , short src_y /**< */ , uint points_len /**< */ , 1980 const xcb_render_pointfix_t* points /**< */ ); 1981 1982 /** 1983 * 1984 * @param c The connection 1985 * @return A cookie 1986 * 1987 * Delivers a request to the X server. 1988 * 1989 * This form can be used only if the request will not cause 1990 * a reply to be generated. Any returned error will be 1991 * saved for handling by xcb_request_check(). 1992 */ 1993 xcb_void_cookie_t xcb_render_create_glyph_set_checked(xcb_connection_t* c /**< */ , xcb_render_glyphset_t gsid /**< */ , 1994 xcb_render_pictformat_t format /**< */ ); 1995 1996 /** 1997 * 1998 * @param c The connection 1999 * @return A cookie 2000 * 2001 * Delivers a request to the X server. 2002 * 2003 */ 2004 xcb_void_cookie_t xcb_render_create_glyph_set(xcb_connection_t* c /**< */ , xcb_render_glyphset_t gsid /**< */ , 2005 xcb_render_pictformat_t format /**< */ ); 2006 2007 /** 2008 * 2009 * @param c The connection 2010 * @return A cookie 2011 * 2012 * Delivers a request to the X server. 2013 * 2014 * This form can be used only if the request will not cause 2015 * a reply to be generated. Any returned error will be 2016 * saved for handling by xcb_request_check(). 2017 */ 2018 xcb_void_cookie_t xcb_render_reference_glyph_set_checked(xcb_connection_t* c /**< */ , xcb_render_glyphset_t gsid /**< */ , 2019 xcb_render_glyphset_t existing /**< */ ); 2020 2021 /** 2022 * 2023 * @param c The connection 2024 * @return A cookie 2025 * 2026 * Delivers a request to the X server. 2027 * 2028 */ 2029 xcb_void_cookie_t xcb_render_reference_glyph_set(xcb_connection_t* c /**< */ , xcb_render_glyphset_t gsid /**< */ , 2030 xcb_render_glyphset_t existing /**< */ ); 2031 2032 /** 2033 * 2034 * @param c The connection 2035 * @return A cookie 2036 * 2037 * Delivers a request to the X server. 2038 * 2039 * This form can be used only if the request will not cause 2040 * a reply to be generated. Any returned error will be 2041 * saved for handling by xcb_request_check(). 2042 */ 2043 xcb_void_cookie_t xcb_render_free_glyph_set_checked(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ ); 2044 2045 /** 2046 * 2047 * @param c The connection 2048 * @return A cookie 2049 * 2050 * Delivers a request to the X server. 2051 * 2052 */ 2053 xcb_void_cookie_t xcb_render_free_glyph_set(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ ); 2054 2055 int xcb_render_add_glyphs_sizeof(const void* _buffer /**< */ , uint data_len /**< */ ); 2056 2057 /** 2058 * 2059 * @param c The connection 2060 * @return A cookie 2061 * 2062 * Delivers a request to the X server. 2063 * 2064 * This form can be used only if the request will not cause 2065 * a reply to be generated. Any returned error will be 2066 * saved for handling by xcb_request_check(). 2067 */ 2068 xcb_void_cookie_t xcb_render_add_glyphs_checked(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ , uint glyphs_len /**< */ , 2069 const uint* glyphids /**< */ , const xcb_render_glyphinfo_t* glyphs /**< */ , uint data_len /**< */ , const ubyte* data /**< */ ); 2070 2071 /** 2072 * 2073 * @param c The connection 2074 * @return A cookie 2075 * 2076 * Delivers a request to the X server. 2077 * 2078 */ 2079 xcb_void_cookie_t xcb_render_add_glyphs(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ , uint glyphs_len /**< */ , 2080 const uint* glyphids /**< */ , const xcb_render_glyphinfo_t* glyphs /**< */ , uint data_len /**< */ , const ubyte* data /**< */ ); 2081 2082 int xcb_render_free_glyphs_sizeof(const void* _buffer /**< */ , uint glyphs_len /**< */ ); 2083 2084 /** 2085 * 2086 * @param c The connection 2087 * @return A cookie 2088 * 2089 * Delivers a request to the X server. 2090 * 2091 * This form can be used only if the request will not cause 2092 * a reply to be generated. Any returned error will be 2093 * saved for handling by xcb_request_check(). 2094 */ 2095 xcb_void_cookie_t xcb_render_free_glyphs_checked(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ , uint glyphs_len /**< */ , 2096 const xcb_render_glyph_t* glyphs /**< */ ); 2097 2098 /** 2099 * 2100 * @param c The connection 2101 * @return A cookie 2102 * 2103 * Delivers a request to the X server. 2104 * 2105 */ 2106 xcb_void_cookie_t xcb_render_free_glyphs(xcb_connection_t* c /**< */ , xcb_render_glyphset_t glyphset /**< */ , uint glyphs_len /**< */ , 2107 const xcb_render_glyph_t* glyphs /**< */ ); 2108 2109 int xcb_render_composite_glyphs_8_sizeof(const void* _buffer /**< */ , uint glyphcmds_len /**< */ ); 2110 2111 /** 2112 * 2113 * @param c The connection 2114 * @return A cookie 2115 * 2116 * Delivers a request to the X server. 2117 * 2118 * This form can be used only if the request will not cause 2119 * a reply to be generated. Any returned error will be 2120 * saved for handling by xcb_request_check(). 2121 */ 2122 xcb_void_cookie_t xcb_render_composite_glyphs_8_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2123 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2124 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2125 2126 /** 2127 * 2128 * @param c The connection 2129 * @return A cookie 2130 * 2131 * Delivers a request to the X server. 2132 * 2133 */ 2134 xcb_void_cookie_t xcb_render_composite_glyphs_8(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2135 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2136 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2137 2138 int xcb_render_composite_glyphs_16_sizeof(const void* _buffer /**< */ , uint glyphcmds_len /**< */ ); 2139 2140 /** 2141 * 2142 * @param c The connection 2143 * @return A cookie 2144 * 2145 * Delivers a request to the X server. 2146 * 2147 * This form can be used only if the request will not cause 2148 * a reply to be generated. Any returned error will be 2149 * saved for handling by xcb_request_check(). 2150 */ 2151 xcb_void_cookie_t xcb_render_composite_glyphs_16_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2152 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2153 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2154 2155 /** 2156 * 2157 * @param c The connection 2158 * @return A cookie 2159 * 2160 * Delivers a request to the X server. 2161 * 2162 */ 2163 xcb_void_cookie_t xcb_render_composite_glyphs_16(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2164 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2165 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2166 2167 int xcb_render_composite_glyphs_32_sizeof(const void* _buffer /**< */ , uint glyphcmds_len /**< */ ); 2168 2169 /** 2170 * 2171 * @param c The connection 2172 * @return A cookie 2173 * 2174 * Delivers a request to the X server. 2175 * 2176 * This form can be used only if the request will not cause 2177 * a reply to be generated. Any returned error will be 2178 * saved for handling by xcb_request_check(). 2179 */ 2180 xcb_void_cookie_t xcb_render_composite_glyphs_32_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2181 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2182 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2183 2184 /** 2185 * 2186 * @param c The connection 2187 * @return A cookie 2188 * 2189 * Delivers a request to the X server. 2190 * 2191 */ 2192 xcb_void_cookie_t xcb_render_composite_glyphs_32(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t src /**< */ , 2193 xcb_render_picture_t dst /**< */ , xcb_render_pictformat_t mask_format /**< */ , xcb_render_glyphset_t glyphset /**< */ , short src_x /**< */ , 2194 short src_y /**< */ , uint glyphcmds_len /**< */ , const ubyte* glyphcmds /**< */ ); 2195 2196 int xcb_render_fill_rectangles_sizeof(const void* _buffer /**< */ , uint rects_len /**< */ ); 2197 2198 /** 2199 * 2200 * @param c The connection 2201 * @return A cookie 2202 * 2203 * Delivers a request to the X server. 2204 * 2205 * This form can be used only if the request will not cause 2206 * a reply to be generated. Any returned error will be 2207 * saved for handling by xcb_request_check(). 2208 */ 2209 xcb_void_cookie_t xcb_render_fill_rectangles_checked(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t dst /**< */ , 2210 xcb_render_color_t color /**< */ , uint rects_len /**< */ , const xcb_rectangle_t* rects /**< */ ); 2211 2212 /** 2213 * 2214 * @param c The connection 2215 * @return A cookie 2216 * 2217 * Delivers a request to the X server. 2218 * 2219 */ 2220 xcb_void_cookie_t xcb_render_fill_rectangles(xcb_connection_t* c /**< */ , ubyte op /**< */ , xcb_render_picture_t dst /**< */ , 2221 xcb_render_color_t color /**< */ , uint rects_len /**< */ , const xcb_rectangle_t* rects /**< */ ); 2222 2223 /** 2224 * 2225 * @param c The connection 2226 * @return A cookie 2227 * 2228 * Delivers a request to the X server. 2229 * 2230 * This form can be used only if the request will not cause 2231 * a reply to be generated. Any returned error will be 2232 * saved for handling by xcb_request_check(). 2233 */ 2234 xcb_void_cookie_t xcb_render_create_cursor_checked(xcb_connection_t* c /**< */ , xcb_cursor_t cid /**< */ , 2235 xcb_render_picture_t source /**< */ , ushort x /**< */ , ushort y /**< */ ); 2236 2237 /** 2238 * 2239 * @param c The connection 2240 * @return A cookie 2241 * 2242 * Delivers a request to the X server. 2243 * 2244 */ 2245 xcb_void_cookie_t xcb_render_create_cursor(xcb_connection_t* c /**< */ , xcb_cursor_t cid /**< */ , 2246 xcb_render_picture_t source /**< */ , ushort x /**< */ , ushort y /**< */ ); 2247 2248 /** 2249 * Get the next element of the iterator 2250 * @param i Pointer to a xcb_render_transform_iterator_t 2251 * 2252 * Get the next element in the iterator. The member rem is 2253 * decreased by one. The member data points to the next 2254 * element. The member index is increased by sizeof(xcb_render_transform_t) 2255 */ 2256 void xcb_render_transform_next(xcb_render_transform_iterator_t* i /**< */ ); 2257 2258 /** 2259 * Return the iterator pointing to the last element 2260 * @param i An xcb_render_transform_iterator_t 2261 * @return The iterator pointing to the last element 2262 * 2263 * Set the current element in the iterator to the last element. 2264 * The member rem is set to 0. The member data points to the 2265 * last element. 2266 */ 2267 xcb_generic_iterator_t xcb_render_transform_end(xcb_render_transform_iterator_t i /**< */ ); 2268 2269 /** 2270 * 2271 * @param c The connection 2272 * @return A cookie 2273 * 2274 * Delivers a request to the X server. 2275 * 2276 * This form can be used only if the request will not cause 2277 * a reply to be generated. Any returned error will be 2278 * saved for handling by xcb_request_check(). 2279 */ 2280 xcb_void_cookie_t xcb_render_set_picture_transform_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2281 xcb_render_transform_t transform /**< */ ); 2282 2283 /** 2284 * 2285 * @param c The connection 2286 * @return A cookie 2287 * 2288 * Delivers a request to the X server. 2289 * 2290 */ 2291 xcb_void_cookie_t xcb_render_set_picture_transform(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2292 xcb_render_transform_t transform /**< */ ); 2293 2294 int xcb_render_query_filters_sizeof(const void* _buffer /**< */ ); 2295 2296 /** 2297 * 2298 * @param c The connection 2299 * @return A cookie 2300 * 2301 * Delivers a request to the X server. 2302 * 2303 */ 2304 xcb_render_query_filters_cookie_t xcb_render_query_filters(xcb_connection_t* c /**< */ , xcb_drawable_t drawable /**< */ ); 2305 2306 /** 2307 * 2308 * @param c The connection 2309 * @return A cookie 2310 * 2311 * Delivers a request to the X server. 2312 * 2313 * This form can be used only if the request will cause 2314 * a reply to be generated. Any returned error will be 2315 * placed in the event queue. 2316 */ 2317 xcb_render_query_filters_cookie_t xcb_render_query_filters_unchecked(xcb_connection_t* c /**< */ , xcb_drawable_t drawable /**< */ ); 2318 2319 ushort* xcb_render_query_filters_aliases(const xcb_render_query_filters_reply_t* R /**< */ ); 2320 2321 int xcb_render_query_filters_aliases_length(const xcb_render_query_filters_reply_t* R /**< */ ); 2322 2323 xcb_generic_iterator_t xcb_render_query_filters_aliases_end(const xcb_render_query_filters_reply_t* R /**< */ ); 2324 2325 int xcb_render_query_filters_filters_length(const xcb_render_query_filters_reply_t* R /**< */ ); 2326 2327 xcb_str_iterator_t xcb_render_query_filters_filters_iterator(const xcb_render_query_filters_reply_t* R /**< */ ); 2328 2329 /** 2330 * Return the reply 2331 * @param c The connection 2332 * @param cookie The cookie 2333 * @param e The xcb_generic_error_t supplied 2334 * 2335 * Returns the reply of the request asked by 2336 * 2337 * The parameter @p e supplied to this function must be NULL if 2338 * xcb_render_query_filters_unchecked(). is used. 2339 * Otherwise, it stores the error if any. 2340 * 2341 * The returned value must be freed by the caller using free(). 2342 */ 2343 xcb_render_query_filters_reply_t* xcb_render_query_filters_reply(xcb_connection_t* c /**< */ , 2344 xcb_render_query_filters_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2345 2346 int xcb_render_set_picture_filter_sizeof(const void* _buffer /**< */ , uint values_len /**< */ ); 2347 2348 /** 2349 * 2350 * @param c The connection 2351 * @return A cookie 2352 * 2353 * Delivers a request to the X server. 2354 * 2355 * This form can be used only if the request will not cause 2356 * a reply to be generated. Any returned error will be 2357 * saved for handling by xcb_request_check(). 2358 */ 2359 xcb_void_cookie_t xcb_render_set_picture_filter_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2360 ushort filter_len /**< */ , const char* filter /**< */ , uint values_len /**< */ , const xcb_render_fixed_t* values /**< */ ); 2361 2362 /** 2363 * 2364 * @param c The connection 2365 * @return A cookie 2366 * 2367 * Delivers a request to the X server. 2368 * 2369 */ 2370 xcb_void_cookie_t xcb_render_set_picture_filter(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , ushort filter_len /**< */ , 2371 const char* filter /**< */ , uint values_len /**< */ , const xcb_render_fixed_t* values /**< */ ); 2372 2373 /** 2374 * Get the next element of the iterator 2375 * @param i Pointer to a xcb_render_animcursorelt_iterator_t 2376 * 2377 * Get the next element in the iterator. The member rem is 2378 * decreased by one. The member data points to the next 2379 * element. The member index is increased by sizeof(xcb_render_animcursorelt_t) 2380 */ 2381 void xcb_render_animcursorelt_next(xcb_render_animcursorelt_iterator_t* i /**< */ ); 2382 2383 /** 2384 * Return the iterator pointing to the last element 2385 * @param i An xcb_render_animcursorelt_iterator_t 2386 * @return The iterator pointing to the last element 2387 * 2388 * Set the current element in the iterator to the last element. 2389 * The member rem is set to 0. The member data points to the 2390 * last element. 2391 */ 2392 xcb_generic_iterator_t xcb_render_animcursorelt_end(xcb_render_animcursorelt_iterator_t i /**< */ ); 2393 2394 int xcb_render_create_anim_cursor_sizeof(const void* _buffer /**< */ , uint cursors_len /**< */ ); 2395 2396 /** 2397 * 2398 * @param c The connection 2399 * @return A cookie 2400 * 2401 * Delivers a request to the X server. 2402 * 2403 * This form can be used only if the request will not cause 2404 * a reply to be generated. Any returned error will be 2405 * saved for handling by xcb_request_check(). 2406 */ 2407 xcb_void_cookie_t xcb_render_create_anim_cursor_checked(xcb_connection_t* c /**< */ , xcb_cursor_t cid /**< */ , uint cursors_len /**< */ , 2408 const xcb_render_animcursorelt_t* cursors /**< */ ); 2409 2410 /** 2411 * 2412 * @param c The connection 2413 * @return A cookie 2414 * 2415 * Delivers a request to the X server. 2416 * 2417 */ 2418 xcb_void_cookie_t xcb_render_create_anim_cursor(xcb_connection_t* c /**< */ , xcb_cursor_t cid /**< */ , uint cursors_len /**< */ , 2419 const xcb_render_animcursorelt_t* cursors /**< */ ); 2420 2421 /** 2422 * Get the next element of the iterator 2423 * @param i Pointer to a xcb_render_spanfix_iterator_t 2424 * 2425 * Get the next element in the iterator. The member rem is 2426 * decreased by one. The member data points to the next 2427 * element. The member index is increased by sizeof(xcb_render_spanfix_t) 2428 */ 2429 void xcb_render_spanfix_next(xcb_render_spanfix_iterator_t* i /**< */ ); 2430 2431 /** 2432 * Return the iterator pointing to the last element 2433 * @param i An xcb_render_spanfix_iterator_t 2434 * @return The iterator pointing to the last element 2435 * 2436 * Set the current element in the iterator to the last element. 2437 * The member rem is set to 0. The member data points to the 2438 * last element. 2439 */ 2440 xcb_generic_iterator_t xcb_render_spanfix_end(xcb_render_spanfix_iterator_t i /**< */ ); 2441 2442 /** 2443 * Get the next element of the iterator 2444 * @param i Pointer to a xcb_render_trap_iterator_t 2445 * 2446 * Get the next element in the iterator. The member rem is 2447 * decreased by one. The member data points to the next 2448 * element. The member index is increased by sizeof(xcb_render_trap_t) 2449 */ 2450 void xcb_render_trap_next(xcb_render_trap_iterator_t* i /**< */ ); 2451 2452 /** 2453 * Return the iterator pointing to the last element 2454 * @param i An xcb_render_trap_iterator_t 2455 * @return The iterator pointing to the last element 2456 * 2457 * Set the current element in the iterator to the last element. 2458 * The member rem is set to 0. The member data points to the 2459 * last element. 2460 */ 2461 xcb_generic_iterator_t xcb_render_trap_end(xcb_render_trap_iterator_t i /**< */ ); 2462 2463 int xcb_render_add_traps_sizeof(const void* _buffer /**< */ , uint traps_len /**< */ ); 2464 2465 /** 2466 * 2467 * @param c The connection 2468 * @return A cookie 2469 * 2470 * Delivers a request to the X server. 2471 * 2472 * This form can be used only if the request will not cause 2473 * a reply to be generated. Any returned error will be 2474 * saved for handling by xcb_request_check(). 2475 */ 2476 xcb_void_cookie_t xcb_render_add_traps_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , short x_off /**< */ , short y_off /**< */ , 2477 uint traps_len /**< */ , const xcb_render_trap_t* traps /**< */ ); 2478 2479 /** 2480 * 2481 * @param c The connection 2482 * @return A cookie 2483 * 2484 * Delivers a request to the X server. 2485 * 2486 */ 2487 xcb_void_cookie_t xcb_render_add_traps(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , short x_off /**< */ , short y_off /**< */ , 2488 uint traps_len /**< */ , const xcb_render_trap_t* traps /**< */ ); 2489 2490 /** 2491 * 2492 * @param c The connection 2493 * @return A cookie 2494 * 2495 * Delivers a request to the X server. 2496 * 2497 * This form can be used only if the request will not cause 2498 * a reply to be generated. Any returned error will be 2499 * saved for handling by xcb_request_check(). 2500 */ 2501 xcb_void_cookie_t xcb_render_create_solid_fill_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2502 xcb_render_color_t color /**< */ ); 2503 2504 /** 2505 * 2506 * @param c The connection 2507 * @return A cookie 2508 * 2509 * Delivers a request to the X server. 2510 * 2511 */ 2512 xcb_void_cookie_t xcb_render_create_solid_fill(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , xcb_render_color_t color /**< */ ); 2513 2514 int xcb_render_create_linear_gradient_sizeof(const void* _buffer /**< */ ); 2515 2516 /** 2517 * 2518 * @param c The connection 2519 * @return A cookie 2520 * 2521 * Delivers a request to the X server. 2522 * 2523 * This form can be used only if the request will not cause 2524 * a reply to be generated. Any returned error will be 2525 * saved for handling by xcb_request_check(). 2526 */ 2527 xcb_void_cookie_t xcb_render_create_linear_gradient_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2528 xcb_render_pointfix_t p1 /**< */ , xcb_render_pointfix_t p2 /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2529 const xcb_render_color_t* colors /**< */ ); 2530 2531 /** 2532 * 2533 * @param c The connection 2534 * @return A cookie 2535 * 2536 * Delivers a request to the X server. 2537 * 2538 */ 2539 xcb_void_cookie_t xcb_render_create_linear_gradient(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2540 xcb_render_pointfix_t p1 /**< */ , xcb_render_pointfix_t p2 /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2541 const xcb_render_color_t* colors /**< */ ); 2542 2543 int xcb_render_create_radial_gradient_sizeof(const void* _buffer /**< */ ); 2544 2545 /** 2546 * 2547 * @param c The connection 2548 * @return A cookie 2549 * 2550 * Delivers a request to the X server. 2551 * 2552 * This form can be used only if the request will not cause 2553 * a reply to be generated. Any returned error will be 2554 * saved for handling by xcb_request_check(). 2555 */ 2556 xcb_void_cookie_t xcb_render_create_radial_gradient_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2557 xcb_render_pointfix_t inner /**< */ , xcb_render_pointfix_t outer /**< */ , xcb_render_fixed_t inner_radius /**< */ , 2558 xcb_render_fixed_t outer_radius /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2559 const xcb_render_color_t* colors /**< */ ); 2560 2561 /** 2562 * 2563 * @param c The connection 2564 * @return A cookie 2565 * 2566 * Delivers a request to the X server. 2567 * 2568 */ 2569 xcb_void_cookie_t xcb_render_create_radial_gradient(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2570 xcb_render_pointfix_t inner /**< */ , xcb_render_pointfix_t outer /**< */ , xcb_render_fixed_t inner_radius /**< */ , 2571 xcb_render_fixed_t outer_radius /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2572 const xcb_render_color_t* colors /**< */ ); 2573 2574 int xcb_render_create_conical_gradient_sizeof(const void* _buffer /**< */ ); 2575 2576 /** 2577 * 2578 * @param c The connection 2579 * @return A cookie 2580 * 2581 * Delivers a request to the X server. 2582 * 2583 * This form can be used only if the request will not cause 2584 * a reply to be generated. Any returned error will be 2585 * saved for handling by xcb_request_check(). 2586 */ 2587 xcb_void_cookie_t xcb_render_create_conical_gradient_checked(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2588 xcb_render_pointfix_t center /**< */ , xcb_render_fixed_t angle /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2589 const xcb_render_color_t* colors /**< */ ); 2590 2591 /** 2592 * 2593 * @param c The connection 2594 * @return A cookie 2595 * 2596 * Delivers a request to the X server. 2597 * 2598 */ 2599 xcb_void_cookie_t xcb_render_create_conical_gradient(xcb_connection_t* c /**< */ , xcb_render_picture_t picture /**< */ , 2600 xcb_render_pointfix_t center /**< */ , xcb_render_fixed_t angle /**< */ , uint num_stops /**< */ , const xcb_render_fixed_t* stops /**< */ , 2601 const xcb_render_color_t* colors /**< */ ); 2602 2603 /** 2604 * @} 2605 */