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