Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / lib / libxcb / files / render.h
blob8b4a5243ddc1263430dbb85ba54d1966d9e27de2
1 /*
2 * This file generated automatically from render.xml by c_client.py.
3 * Edit at your peril.
4 */
6 /**
7 * @defgroup XCB_Render_API XCB Render API
8 * @brief Render XCB Protocol Implementation.
9 * @{
10 **/
12 #ifndef __RENDER_H
13 #define __RENDER_H
15 #include "xcb.h"
16 #include "xproto.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 #define XCB_RENDER_MAJOR_VERSION 0
23 #define XCB_RENDER_MINOR_VERSION 11
25 extern xcb_extension_t xcb_render_id;
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;
32 typedef enum xcb_render_picture_enum_t {
33 XCB_RENDER_PICTURE_NONE = 0
34 } xcb_render_picture_enum_t;
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;
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;
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;
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;
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;
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;
134 typedef uint32_t xcb_render_glyph_t;
137 * @brief xcb_render_glyph_iterator_t
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;
145 typedef uint32_t xcb_render_glyphset_t;
148 * @brief xcb_render_glyphset_iterator_t
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;
156 typedef uint32_t xcb_render_picture_t;
159 * @brief xcb_render_picture_iterator_t
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;
167 typedef uint32_t xcb_render_pictformat_t;
170 * @brief xcb_render_pictformat_iterator_t
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;
178 typedef int32_t xcb_render_fixed_t;
181 * @brief xcb_render_fixed_iterator_t
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;
189 /** Opcode for xcb_render_pict_format. */
190 #define XCB_RENDER_PICT_FORMAT 0
193 * @brief xcb_render_pict_format_error_t
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;
201 /** Opcode for xcb_render_picture. */
202 #define XCB_RENDER_PICTURE 1
205 * @brief xcb_render_picture_error_t
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;
213 /** Opcode for xcb_render_pict_op. */
214 #define XCB_RENDER_PICT_OP 2
217 * @brief xcb_render_pict_op_error_t
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;
225 /** Opcode for xcb_render_glyph_set. */
226 #define XCB_RENDER_GLYPH_SET 3
229 * @brief xcb_render_glyph_set_error_t
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;
237 /** Opcode for xcb_render_glyph. */
238 #define XCB_RENDER_GLYPH 4
241 * @brief xcb_render_glyph_error_t
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;
250 * @brief xcb_render_directformat_t
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;
264 * @brief xcb_render_directformat_iterator_t
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;
273 * @brief xcb_render_pictforminfo_t
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;
285 * @brief xcb_render_pictforminfo_iterator_t
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;
294 * @brief xcb_render_pictvisual_t
296 typedef struct xcb_render_pictvisual_t {
297 xcb_visualid_t visual; /**< */
298 xcb_render_pictformat_t format; /**< */
299 } xcb_render_pictvisual_t;
302 * @brief xcb_render_pictvisual_iterator_t
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;
311 * @brief xcb_render_pictdepth_t
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;
321 * @brief xcb_render_pictdepth_iterator_t
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;
330 * @brief xcb_render_pictscreen_t
332 typedef struct xcb_render_pictscreen_t {
333 uint32_t num_depths; /**< */
334 xcb_render_pictformat_t fallback; /**< */
335 } xcb_render_pictscreen_t;
338 * @brief xcb_render_pictscreen_iterator_t
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;
347 * @brief xcb_render_indexvalue_t
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;
358 * @brief xcb_render_indexvalue_iterator_t
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;
367 * @brief xcb_render_color_t
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;
377 * @brief xcb_render_color_iterator_t
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;
386 * @brief xcb_render_pointfix_t
388 typedef struct xcb_render_pointfix_t {
389 xcb_render_fixed_t x; /**< */
390 xcb_render_fixed_t y; /**< */
391 } xcb_render_pointfix_t;
394 * @brief xcb_render_pointfix_iterator_t
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;
403 * @brief xcb_render_linefix_t
405 typedef struct xcb_render_linefix_t {
406 xcb_render_pointfix_t p1; /**< */
407 xcb_render_pointfix_t p2; /**< */
408 } xcb_render_linefix_t;
411 * @brief xcb_render_linefix_iterator_t
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;
420 * @brief xcb_render_triangle_t
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;
429 * @brief xcb_render_triangle_iterator_t
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;
438 * @brief xcb_render_trapezoid_t
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;
448 * @brief xcb_render_trapezoid_iterator_t
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;
457 * @brief xcb_render_glyphinfo_t
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;
469 * @brief xcb_render_glyphinfo_iterator_t
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;
478 * @brief xcb_render_query_version_cookie_t
480 typedef struct xcb_render_query_version_cookie_t {
481 unsigned int sequence; /**< */
482 } xcb_render_query_version_cookie_t;
484 /** Opcode for xcb_render_query_version. */
485 #define XCB_RENDER_QUERY_VERSION 0
488 * @brief xcb_render_query_version_request_t
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;
499 * @brief xcb_render_query_version_reply_t
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;
512 * @brief xcb_render_query_pict_formats_cookie_t
514 typedef struct xcb_render_query_pict_formats_cookie_t {
515 unsigned int sequence; /**< */
516 } xcb_render_query_pict_formats_cookie_t;
518 /** Opcode for xcb_render_query_pict_formats. */
519 #define XCB_RENDER_QUERY_PICT_FORMATS 1
522 * @brief xcb_render_query_pict_formats_request_t
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;
531 * @brief xcb_render_query_pict_formats_reply_t
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;
547 * @brief xcb_render_query_pict_index_values_cookie_t
549 typedef struct xcb_render_query_pict_index_values_cookie_t {
550 unsigned int sequence; /**< */
551 } xcb_render_query_pict_index_values_cookie_t;
553 /** Opcode for xcb_render_query_pict_index_values. */
554 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
557 * @brief xcb_render_query_pict_index_values_request_t
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;
567 * @brief xcb_render_query_pict_index_values_reply_t
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;
578 /** Opcode for xcb_render_create_picture. */
579 #define XCB_RENDER_CREATE_PICTURE 4
582 * @brief xcb_render_create_picture_request_t
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;
594 /** Opcode for xcb_render_change_picture. */
595 #define XCB_RENDER_CHANGE_PICTURE 5
598 * @brief xcb_render_change_picture_request_t
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;
608 /** Opcode for xcb_render_set_picture_clip_rectangles. */
609 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
612 * @brief xcb_render_set_picture_clip_rectangles_request_t
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;
623 /** Opcode for xcb_render_free_picture. */
624 #define XCB_RENDER_FREE_PICTURE 7
627 * @brief xcb_render_free_picture_request_t
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;
636 /** Opcode for xcb_render_composite. */
637 #define XCB_RENDER_COMPOSITE 8
640 * @brief xcb_render_composite_request_t
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;
661 /** Opcode for xcb_render_trapezoids. */
662 #define XCB_RENDER_TRAPEZOIDS 10
665 * @brief xcb_render_trapezoids_request_t
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;
680 /** Opcode for xcb_render_triangles. */
681 #define XCB_RENDER_TRIANGLES 11
684 * @brief xcb_render_triangles_request_t
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;
699 /** Opcode for xcb_render_tri_strip. */
700 #define XCB_RENDER_TRI_STRIP 12
703 * @brief xcb_render_tri_strip_request_t
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;
718 /** Opcode for xcb_render_tri_fan. */
719 #define XCB_RENDER_TRI_FAN 13
722 * @brief xcb_render_tri_fan_request_t
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;
737 /** Opcode for xcb_render_create_glyph_set. */
738 #define XCB_RENDER_CREATE_GLYPH_SET 17
741 * @brief xcb_render_create_glyph_set_request_t
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;
751 /** Opcode for xcb_render_reference_glyph_set. */
752 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
755 * @brief xcb_render_reference_glyph_set_request_t
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;
765 /** Opcode for xcb_render_free_glyph_set. */
766 #define XCB_RENDER_FREE_GLYPH_SET 19
769 * @brief xcb_render_free_glyph_set_request_t
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;
778 /** Opcode for xcb_render_add_glyphs. */
779 #define XCB_RENDER_ADD_GLYPHS 20
782 * @brief xcb_render_add_glyphs_request_t
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;
792 /** Opcode for xcb_render_free_glyphs. */
793 #define XCB_RENDER_FREE_GLYPHS 22
796 * @brief xcb_render_free_glyphs_request_t
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;
805 /** Opcode for xcb_render_composite_glyphs_8. */
806 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
809 * @brief xcb_render_composite_glyphs_8_request_t
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;
825 /** Opcode for xcb_render_composite_glyphs_16. */
826 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
829 * @brief xcb_render_composite_glyphs_16_request_t
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;
845 /** Opcode for xcb_render_composite_glyphs_32. */
846 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
849 * @brief xcb_render_composite_glyphs_32_request_t
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;
865 /** Opcode for xcb_render_fill_rectangles. */
866 #define XCB_RENDER_FILL_RECTANGLES 26
869 * @brief xcb_render_fill_rectangles_request_t
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;
881 /** Opcode for xcb_render_create_cursor. */
882 #define XCB_RENDER_CREATE_CURSOR 27
885 * @brief xcb_render_create_cursor_request_t
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;
898 * @brief xcb_render_transform_t
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;
913 * @brief xcb_render_transform_iterator_t
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;
921 /** Opcode for xcb_render_set_picture_transform. */
922 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
925 * @brief xcb_render_set_picture_transform_request_t
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;
936 * @brief xcb_render_query_filters_cookie_t
938 typedef struct xcb_render_query_filters_cookie_t {
939 unsigned int sequence; /**< */
940 } xcb_render_query_filters_cookie_t;
942 /** Opcode for xcb_render_query_filters. */
943 #define XCB_RENDER_QUERY_FILTERS 29
946 * @brief xcb_render_query_filters_request_t
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;
956 * @brief xcb_render_query_filters_reply_t
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;
968 /** Opcode for xcb_render_set_picture_filter. */
969 #define XCB_RENDER_SET_PICTURE_FILTER 30
972 * @brief xcb_render_set_picture_filter_request_t
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;
984 * @brief xcb_render_animcursorelt_t
986 typedef struct xcb_render_animcursorelt_t {
987 xcb_cursor_t cursor; /**< */
988 uint32_t delay; /**< */
989 } xcb_render_animcursorelt_t;
992 * @brief xcb_render_animcursorelt_iterator_t
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;
1000 /** Opcode for xcb_render_create_anim_cursor. */
1001 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
1004 * @brief xcb_render_create_anim_cursor_request_t
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;
1014 * @brief xcb_render_spanfix_t
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;
1023 * @brief xcb_render_spanfix_iterator_t
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;
1032 * @brief xcb_render_trap_t
1034 typedef struct xcb_render_trap_t {
1035 xcb_render_spanfix_t top; /**< */
1036 xcb_render_spanfix_t bot; /**< */
1037 } xcb_render_trap_t;
1040 * @brief xcb_render_trap_iterator_t
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;
1048 /** Opcode for xcb_render_add_traps. */
1049 #define XCB_RENDER_ADD_TRAPS 32
1052 * @brief xcb_render_add_traps_request_t
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;
1063 /** Opcode for xcb_render_create_solid_fill. */
1064 #define XCB_RENDER_CREATE_SOLID_FILL 33
1067 * @brief xcb_render_create_solid_fill_request_t
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;
1077 /** Opcode for xcb_render_create_linear_gradient. */
1078 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
1081 * @brief xcb_render_create_linear_gradient_request_t
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;
1093 /** Opcode for xcb_render_create_radial_gradient. */
1094 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
1097 * @brief xcb_render_create_radial_gradient_request_t
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;
1111 /** Opcode for xcb_render_create_conical_gradient. */
1112 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
1115 * @brief xcb_render_create_conical_gradient_request_t
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;
1128 * Get the next element of the iterator
1129 * @param i Pointer to a xcb_render_glyph_iterator_t
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)
1135 void
1136 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i /**< */);
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
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.
1147 xcb_generic_iterator_t
1148 xcb_render_glyph_end (xcb_render_glyph_iterator_t i /**< */);
1151 * Get the next element of the iterator
1152 * @param i Pointer to a xcb_render_glyphset_iterator_t
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)
1158 void
1159 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i /**< */);
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
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.
1170 xcb_generic_iterator_t
1171 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i /**< */);
1174 * Get the next element of the iterator
1175 * @param i Pointer to a xcb_render_picture_iterator_t
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)
1181 void
1182 xcb_render_picture_next (xcb_render_picture_iterator_t *i /**< */);
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
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.
1193 xcb_generic_iterator_t
1194 xcb_render_picture_end (xcb_render_picture_iterator_t i /**< */);
1197 * Get the next element of the iterator
1198 * @param i Pointer to a xcb_render_pictformat_iterator_t
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)
1204 void
1205 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i /**< */);
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
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.
1216 xcb_generic_iterator_t
1217 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i /**< */);
1220 * Get the next element of the iterator
1221 * @param i Pointer to a xcb_render_fixed_iterator_t
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)
1227 void
1228 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i /**< */);
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
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.
1239 xcb_generic_iterator_t
1240 xcb_render_fixed_end (xcb_render_fixed_iterator_t i /**< */);
1243 * Get the next element of the iterator
1244 * @param i Pointer to a xcb_render_directformat_iterator_t
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)
1250 void
1251 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i /**< */);
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
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.
1262 xcb_generic_iterator_t
1263 xcb_render_directformat_end (xcb_render_directformat_iterator_t i /**< */);
1266 * Get the next element of the iterator
1267 * @param i Pointer to a xcb_render_pictforminfo_iterator_t
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)
1273 void
1274 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i /**< */);
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
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.
1285 xcb_generic_iterator_t
1286 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i /**< */);
1289 * Get the next element of the iterator
1290 * @param i Pointer to a xcb_render_pictvisual_iterator_t
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)
1296 void
1297 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i /**< */);
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
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.
1308 xcb_generic_iterator_t
1309 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i /**< */);
1312 xcb_render_pictdepth_sizeof (const void *_buffer /**< */);
1314 xcb_render_pictvisual_t *
1315 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R /**< */);
1318 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R /**< */);
1320 xcb_render_pictvisual_iterator_t
1321 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R /**< */);
1324 * Get the next element of the iterator
1325 * @param i Pointer to a xcb_render_pictdepth_iterator_t
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)
1331 void
1332 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i /**< */);
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
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.
1343 xcb_generic_iterator_t
1344 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i /**< */);
1347 xcb_render_pictscreen_sizeof (const void *_buffer /**< */);
1350 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R /**< */);
1352 xcb_render_pictdepth_iterator_t
1353 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R /**< */);
1356 * Get the next element of the iterator
1357 * @param i Pointer to a xcb_render_pictscreen_iterator_t
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)
1363 void
1364 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i /**< */);
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
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.
1375 xcb_generic_iterator_t
1376 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i /**< */);
1379 * Get the next element of the iterator
1380 * @param i Pointer to a xcb_render_indexvalue_iterator_t
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)
1386 void
1387 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i /**< */);
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
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.
1398 xcb_generic_iterator_t
1399 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i /**< */);
1402 * Get the next element of the iterator
1403 * @param i Pointer to a xcb_render_color_iterator_t
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)
1409 void
1410 xcb_render_color_next (xcb_render_color_iterator_t *i /**< */);
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
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.
1421 xcb_generic_iterator_t
1422 xcb_render_color_end (xcb_render_color_iterator_t i /**< */);
1425 * Get the next element of the iterator
1426 * @param i Pointer to a xcb_render_pointfix_iterator_t
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)
1432 void
1433 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i /**< */);
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
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.
1444 xcb_generic_iterator_t
1445 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i /**< */);
1448 * Get the next element of the iterator
1449 * @param i Pointer to a xcb_render_linefix_iterator_t
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)
1455 void
1456 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i /**< */);
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
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.
1467 xcb_generic_iterator_t
1468 xcb_render_linefix_end (xcb_render_linefix_iterator_t i /**< */);
1471 * Get the next element of the iterator
1472 * @param i Pointer to a xcb_render_triangle_iterator_t
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)
1478 void
1479 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i /**< */);
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
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.
1490 xcb_generic_iterator_t
1491 xcb_render_triangle_end (xcb_render_triangle_iterator_t i /**< */);
1494 * Get the next element of the iterator
1495 * @param i Pointer to a xcb_render_trapezoid_iterator_t
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)
1501 void
1502 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i /**< */);
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
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.
1513 xcb_generic_iterator_t
1514 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i /**< */);
1517 * Get the next element of the iterator
1518 * @param i Pointer to a xcb_render_glyphinfo_iterator_t
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)
1524 void
1525 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i /**< */);
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
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.
1536 xcb_generic_iterator_t
1537 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i /**< */);
1541 * @param c The connection
1542 * @return A cookie
1544 * Delivers a request to the X server.
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 /**< */);
1554 * @param c The connection
1555 * @return A cookie
1557 * Delivers a request to the X server.
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.
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 /**< */);
1569 * Return the reply
1570 * @param c The connection
1571 * @param cookie The cookie
1572 * @param e The xcb_generic_error_t supplied
1574 * Returns the reply of the request asked by
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.
1580 * The returned value must be freed by the caller using free().
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 /**< */);
1588 xcb_render_query_pict_formats_sizeof (const void *_buffer /**< */);
1592 * @param c The connection
1593 * @return A cookie
1595 * Delivers a request to the X server.
1598 xcb_render_query_pict_formats_cookie_t
1599 xcb_render_query_pict_formats (xcb_connection_t *c /**< */);
1603 * @param c The connection
1604 * @return A cookie
1606 * Delivers a request to the X server.
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.
1612 xcb_render_query_pict_formats_cookie_t
1613 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c /**< */);
1615 xcb_render_pictforminfo_t *
1616 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R /**< */);
1619 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R /**< */);
1621 xcb_render_pictforminfo_iterator_t
1622 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R /**< */);
1625 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R /**< */);
1627 xcb_render_pictscreen_iterator_t
1628 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R /**< */);
1630 uint32_t *
1631 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R /**< */);
1634 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R /**< */);
1636 xcb_generic_iterator_t
1637 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R /**< */);
1640 * Return the reply
1641 * @param c The connection
1642 * @param cookie The cookie
1643 * @param e The xcb_generic_error_t supplied
1645 * Returns the reply of the request asked by
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.
1651 * The returned value must be freed by the caller using free().
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 /**< */);
1659 xcb_render_query_pict_index_values_sizeof (const void *_buffer /**< */);
1663 * @param c The connection
1664 * @return A cookie
1666 * Delivers a request to the X server.
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 /**< */);
1675 * @param c The connection
1676 * @return A cookie
1678 * Delivers a request to the X server.
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.
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 /**< */);
1688 xcb_render_indexvalue_t *
1689 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R /**< */);
1692 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R /**< */);
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 /**< */);
1698 * Return the reply
1699 * @param c The connection
1700 * @param cookie The cookie
1701 * @param e The xcb_generic_error_t supplied
1703 * Returns the reply of the request asked by
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.
1709 * The returned value must be freed by the caller using free().
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 /**< */);
1717 xcb_render_create_picture_sizeof (const void *_buffer /**< */);
1721 * @param c The connection
1722 * @return A cookie
1724 * Delivers a request to the X server.
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().
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 /**< */);
1740 * @param c The connection
1741 * @return A cookie
1743 * Delivers a request to the X server.
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 /**< */);
1755 xcb_render_change_picture_sizeof (const void *_buffer /**< */);
1759 * @param c The connection
1760 * @return A cookie
1762 * Delivers a request to the X server.
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().
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 /**< */);
1776 * @param c The connection
1777 * @return A cookie
1779 * Delivers a request to the X server.
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 /**< */);
1789 xcb_render_set_picture_clip_rectangles_sizeof (const void *_buffer /**< */,
1790 uint32_t rectangles_len /**< */);
1794 * @param c The connection
1795 * @return A cookie
1797 * Delivers a request to the X server.
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().
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 /**< */);
1813 * @param c The connection
1814 * @return A cookie
1816 * Delivers a request to the X server.
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 /**< */);
1829 * @param c The connection
1830 * @return A cookie
1832 * Delivers a request to the X server.
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().
1838 xcb_void_cookie_t
1839 xcb_render_free_picture_checked (xcb_connection_t *c /**< */,
1840 xcb_render_picture_t picture /**< */);
1844 * @param c The connection
1845 * @return A cookie
1847 * Delivers a request to the X server.
1850 xcb_void_cookie_t
1851 xcb_render_free_picture (xcb_connection_t *c /**< */,
1852 xcb_render_picture_t picture /**< */);
1856 * @param c The connection
1857 * @return A cookie
1859 * Delivers a request to the X server.
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().
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 /**< */);
1882 * @param c The connection
1883 * @return A cookie
1885 * Delivers a request to the X server.
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 /**< */);
1904 xcb_render_trapezoids_sizeof (const void *_buffer /**< */,
1905 uint32_t traps_len /**< */);
1909 * @param c The connection
1910 * @return A cookie
1912 * Delivers a request to the X server.
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().
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 /**< */);
1931 * @param c The connection
1932 * @return A cookie
1934 * Delivers a request to the X server.
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 /**< */);
1949 xcb_render_triangles_sizeof (const void *_buffer /**< */,
1950 uint32_t triangles_len /**< */);
1954 * @param c The connection
1955 * @return A cookie
1957 * Delivers a request to the X server.
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().
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 /**< */);
1976 * @param c The connection
1977 * @return A cookie
1979 * Delivers a request to the X server.
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 /**< */);
1994 xcb_render_tri_strip_sizeof (const void *_buffer /**< */,
1995 uint32_t points_len /**< */);
1999 * @param c The connection
2000 * @return A cookie
2002 * Delivers a request to the X server.
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().
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 /**< */);
2021 * @param c The connection
2022 * @return A cookie
2024 * Delivers a request to the X server.
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 /**< */);
2039 xcb_render_tri_fan_sizeof (const void *_buffer /**< */,
2040 uint32_t points_len /**< */);
2044 * @param c The connection
2045 * @return A cookie
2047 * Delivers a request to the X server.
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().
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 /**< */);
2066 * @param c The connection
2067 * @return A cookie
2069 * Delivers a request to the X server.
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 /**< */);
2085 * @param c The connection
2086 * @return A cookie
2088 * Delivers a request to the X server.
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().
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 /**< */);
2101 * @param c The connection
2102 * @return A cookie
2104 * Delivers a request to the X server.
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 /**< */);
2114 * @param c The connection
2115 * @return A cookie
2117 * Delivers a request to the X server.
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().
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 /**< */);
2130 * @param c The connection
2131 * @return A cookie
2133 * Delivers a request to the X server.
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 /**< */);
2143 * @param c The connection
2144 * @return A cookie
2146 * Delivers a request to the X server.
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().
2152 xcb_void_cookie_t
2153 xcb_render_free_glyph_set_checked (xcb_connection_t *c /**< */,
2154 xcb_render_glyphset_t glyphset /**< */);
2158 * @param c The connection
2159 * @return A cookie
2161 * Delivers a request to the X server.
2164 xcb_void_cookie_t
2165 xcb_render_free_glyph_set (xcb_connection_t *c /**< */,
2166 xcb_render_glyphset_t glyphset /**< */);
2169 xcb_render_add_glyphs_sizeof (const void *_buffer /**< */,
2170 uint32_t data_len /**< */);
2174 * @param c The connection
2175 * @return A cookie
2177 * Delivers a request to the X server.
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().
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 /**< */);
2194 * @param c The connection
2195 * @return A cookie
2197 * Delivers a request to the X server.
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 /**< */);
2210 xcb_render_free_glyphs_sizeof (const void *_buffer /**< */,
2211 uint32_t glyphs_len /**< */);
2215 * @param c The connection
2216 * @return A cookie
2218 * Delivers a request to the X server.
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().
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 /**< */);
2232 * @param c The connection
2233 * @return A cookie
2235 * Delivers a request to the X server.
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 /**< */);
2245 xcb_render_composite_glyphs_8_sizeof (const void *_buffer /**< */,
2246 uint32_t glyphcmds_len /**< */);
2250 * @param c The connection
2251 * @return A cookie
2253 * Delivers a request to the X server.
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().
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 /**< */);
2273 * @param c The connection
2274 * @return A cookie
2276 * Delivers a request to the X server.
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 /**< */);
2292 xcb_render_composite_glyphs_16_sizeof (const void *_buffer /**< */,
2293 uint32_t glyphcmds_len /**< */);
2297 * @param c The connection
2298 * @return A cookie
2300 * Delivers a request to the X server.
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().
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 /**< */);
2320 * @param c The connection
2321 * @return A cookie
2323 * Delivers a request to the X server.
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 /**< */);
2339 xcb_render_composite_glyphs_32_sizeof (const void *_buffer /**< */,
2340 uint32_t glyphcmds_len /**< */);
2344 * @param c The connection
2345 * @return A cookie
2347 * Delivers a request to the X server.
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().
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 /**< */);
2367 * @param c The connection
2368 * @return A cookie
2370 * Delivers a request to the X server.
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 /**< */);
2386 xcb_render_fill_rectangles_sizeof (const void *_buffer /**< */,
2387 uint32_t rects_len /**< */);
2391 * @param c The connection
2392 * @return A cookie
2394 * Delivers a request to the X server.
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().
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 /**< */);
2410 * @param c The connection
2411 * @return A cookie
2413 * Delivers a request to the X server.
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 /**< */);
2426 * @param c The connection
2427 * @return A cookie
2429 * Delivers a request to the X server.
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().
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 /**< */);
2444 * @param c The connection
2445 * @return A cookie
2447 * Delivers a request to the X server.
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 /**< */);
2458 * Get the next element of the iterator
2459 * @param i Pointer to a xcb_render_transform_iterator_t
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)
2465 void
2466 xcb_render_transform_next (xcb_render_transform_iterator_t *i /**< */);
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
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.
2477 xcb_generic_iterator_t
2478 xcb_render_transform_end (xcb_render_transform_iterator_t i /**< */);
2482 * @param c The connection
2483 * @return A cookie
2485 * Delivers a request to the X server.
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().
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 /**< */);
2498 * @param c The connection
2499 * @return A cookie
2501 * Delivers a request to the X server.
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 /**< */);
2510 xcb_render_query_filters_sizeof (const void *_buffer /**< */);
2514 * @param c The connection
2515 * @return A cookie
2517 * Delivers a request to the X server.
2520 xcb_render_query_filters_cookie_t
2521 xcb_render_query_filters (xcb_connection_t *c /**< */,
2522 xcb_drawable_t drawable /**< */);
2526 * @param c The connection
2527 * @return A cookie
2529 * Delivers a request to the X server.
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.
2535 xcb_render_query_filters_cookie_t
2536 xcb_render_query_filters_unchecked (xcb_connection_t *c /**< */,
2537 xcb_drawable_t drawable /**< */);
2539 uint16_t *
2540 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R /**< */);
2543 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R /**< */);
2545 xcb_generic_iterator_t
2546 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R /**< */);
2549 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R /**< */);
2551 xcb_str_iterator_t
2552 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R /**< */);
2555 * Return the reply
2556 * @param c The connection
2557 * @param cookie The cookie
2558 * @param e The xcb_generic_error_t supplied
2560 * Returns the reply of the request asked by
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.
2566 * The returned value must be freed by the caller using free().
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 /**< */);
2574 xcb_render_set_picture_filter_sizeof (const void *_buffer /**< */,
2575 uint32_t values_len /**< */);
2579 * @param c The connection
2580 * @return A cookie
2582 * Delivers a request to the X server.
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().
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 /**< */);
2598 * @param c The connection
2599 * @return A cookie
2601 * Delivers a request to the X server.
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 /**< */);
2613 * Get the next element of the iterator
2614 * @param i Pointer to a xcb_render_animcursorelt_iterator_t
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)
2620 void
2621 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i /**< */);
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
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.
2632 xcb_generic_iterator_t
2633 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i /**< */);
2636 xcb_render_create_anim_cursor_sizeof (const void *_buffer /**< */,
2637 uint32_t cursors_len /**< */);
2641 * @param c The connection
2642 * @return A cookie
2644 * Delivers a request to the X server.
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().
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 /**< */);
2658 * @param c The connection
2659 * @return A cookie
2661 * Delivers a request to the X server.
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 /**< */);
2671 * Get the next element of the iterator
2672 * @param i Pointer to a xcb_render_spanfix_iterator_t
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)
2678 void
2679 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i /**< */);
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
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.
2690 xcb_generic_iterator_t
2691 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i /**< */);
2694 * Get the next element of the iterator
2695 * @param i Pointer to a xcb_render_trap_iterator_t
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)
2701 void
2702 xcb_render_trap_next (xcb_render_trap_iterator_t *i /**< */);
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
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.
2713 xcb_generic_iterator_t
2714 xcb_render_trap_end (xcb_render_trap_iterator_t i /**< */);
2717 xcb_render_add_traps_sizeof (const void *_buffer /**< */,
2718 uint32_t traps_len /**< */);
2722 * @param c The connection
2723 * @return A cookie
2725 * Delivers a request to the X server.
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().
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 /**< */);
2741 * @param c The connection
2742 * @return A cookie
2744 * Delivers a request to the X server.
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 /**< */);
2757 * @param c The connection
2758 * @return A cookie
2760 * Delivers a request to the X server.
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().
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 /**< */);
2773 * @param c The connection
2774 * @return A cookie
2776 * Delivers a request to the X server.
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 /**< */);
2785 xcb_render_create_linear_gradient_sizeof (const void *_buffer /**< */);
2789 * @param c The connection
2790 * @return A cookie
2792 * Delivers a request to the X server.
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().
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 /**< */);
2809 * @param c The connection
2810 * @return A cookie
2812 * Delivers a request to the X server.
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 /**< */);
2825 xcb_render_create_radial_gradient_sizeof (const void *_buffer /**< */);
2829 * @param c The connection
2830 * @return A cookie
2832 * Delivers a request to the X server.
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().
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 /**< */);
2851 * @param c The connection
2852 * @return A cookie
2854 * Delivers a request to the X server.
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 /**< */);
2869 xcb_render_create_conical_gradient_sizeof (const void *_buffer /**< */);
2873 * @param c The connection
2874 * @return A cookie
2876 * Delivers a request to the X server.
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().
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 /**< */);
2893 * @param c The connection
2894 * @return A cookie
2896 * Delivers a request to the X server.
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 /**< */);
2909 #ifdef __cplusplus
2911 #endif
2913 #endif
2916 * @}