Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:40

0001 /*
0002  * This file generated automatically from render.xml by c_client.py.
0003  * Edit at your peril.
0004  */
0005 
0006 /**
0007  * @defgroup XCB_Render_API XCB Render API
0008  * @brief Render XCB Protocol Implementation.
0009  * @{
0010  **/
0011 
0012 #ifndef __RENDER_H
0013 #define __RENDER_H
0014 
0015 #include "xcb.h"
0016 #include "xproto.h"
0017 
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021 
0022 #define XCB_RENDER_MAJOR_VERSION 0
0023 #define XCB_RENDER_MINOR_VERSION 11
0024 
0025 extern xcb_extension_t xcb_render_id;
0026 
0027 typedef enum xcb_render_pict_type_t {
0028     XCB_RENDER_PICT_TYPE_INDEXED = 0,
0029     XCB_RENDER_PICT_TYPE_DIRECT = 1
0030 } xcb_render_pict_type_t;
0031 
0032 typedef enum xcb_render_picture_enum_t {
0033     XCB_RENDER_PICTURE_NONE = 0
0034 } xcb_render_picture_enum_t;
0035 
0036 typedef enum xcb_render_pict_op_t {
0037     XCB_RENDER_PICT_OP_CLEAR = 0,
0038     XCB_RENDER_PICT_OP_SRC = 1,
0039     XCB_RENDER_PICT_OP_DST = 2,
0040     XCB_RENDER_PICT_OP_OVER = 3,
0041     XCB_RENDER_PICT_OP_OVER_REVERSE = 4,
0042     XCB_RENDER_PICT_OP_IN = 5,
0043     XCB_RENDER_PICT_OP_IN_REVERSE = 6,
0044     XCB_RENDER_PICT_OP_OUT = 7,
0045     XCB_RENDER_PICT_OP_OUT_REVERSE = 8,
0046     XCB_RENDER_PICT_OP_ATOP = 9,
0047     XCB_RENDER_PICT_OP_ATOP_REVERSE = 10,
0048     XCB_RENDER_PICT_OP_XOR = 11,
0049     XCB_RENDER_PICT_OP_ADD = 12,
0050     XCB_RENDER_PICT_OP_SATURATE = 13,
0051     XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 16,
0052     XCB_RENDER_PICT_OP_DISJOINT_SRC = 17,
0053     XCB_RENDER_PICT_OP_DISJOINT_DST = 18,
0054     XCB_RENDER_PICT_OP_DISJOINT_OVER = 19,
0055     XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE = 20,
0056     XCB_RENDER_PICT_OP_DISJOINT_IN = 21,
0057     XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE = 22,
0058     XCB_RENDER_PICT_OP_DISJOINT_OUT = 23,
0059     XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE = 24,
0060     XCB_RENDER_PICT_OP_DISJOINT_ATOP = 25,
0061     XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE = 26,
0062     XCB_RENDER_PICT_OP_DISJOINT_XOR = 27,
0063     XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 32,
0064     XCB_RENDER_PICT_OP_CONJOINT_SRC = 33,
0065     XCB_RENDER_PICT_OP_CONJOINT_DST = 34,
0066     XCB_RENDER_PICT_OP_CONJOINT_OVER = 35,
0067     XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE = 36,
0068     XCB_RENDER_PICT_OP_CONJOINT_IN = 37,
0069     XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE = 38,
0070     XCB_RENDER_PICT_OP_CONJOINT_OUT = 39,
0071     XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE = 40,
0072     XCB_RENDER_PICT_OP_CONJOINT_ATOP = 41,
0073     XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE = 42,
0074     XCB_RENDER_PICT_OP_CONJOINT_XOR = 43,
0075     XCB_RENDER_PICT_OP_MULTIPLY = 48,
0076     XCB_RENDER_PICT_OP_SCREEN = 49,
0077     XCB_RENDER_PICT_OP_OVERLAY = 50,
0078     XCB_RENDER_PICT_OP_DARKEN = 51,
0079     XCB_RENDER_PICT_OP_LIGHTEN = 52,
0080     XCB_RENDER_PICT_OP_COLOR_DODGE = 53,
0081     XCB_RENDER_PICT_OP_COLOR_BURN = 54,
0082     XCB_RENDER_PICT_OP_HARD_LIGHT = 55,
0083     XCB_RENDER_PICT_OP_SOFT_LIGHT = 56,
0084     XCB_RENDER_PICT_OP_DIFFERENCE = 57,
0085     XCB_RENDER_PICT_OP_EXCLUSION = 58,
0086     XCB_RENDER_PICT_OP_HSL_HUE = 59,
0087     XCB_RENDER_PICT_OP_HSL_SATURATION = 60,
0088     XCB_RENDER_PICT_OP_HSL_COLOR = 61,
0089     XCB_RENDER_PICT_OP_HSL_LUMINOSITY = 62
0090 } xcb_render_pict_op_t;
0091 
0092 typedef enum xcb_render_poly_edge_t {
0093     XCB_RENDER_POLY_EDGE_SHARP = 0,
0094     XCB_RENDER_POLY_EDGE_SMOOTH = 1
0095 } xcb_render_poly_edge_t;
0096 
0097 typedef enum xcb_render_poly_mode_t {
0098     XCB_RENDER_POLY_MODE_PRECISE = 0,
0099     XCB_RENDER_POLY_MODE_IMPRECISE = 1
0100 } xcb_render_poly_mode_t;
0101 
0102 typedef enum xcb_render_cp_t {
0103     XCB_RENDER_CP_REPEAT = 1,
0104     XCB_RENDER_CP_ALPHA_MAP = 2,
0105     XCB_RENDER_CP_ALPHA_X_ORIGIN = 4,
0106     XCB_RENDER_CP_ALPHA_Y_ORIGIN = 8,
0107     XCB_RENDER_CP_CLIP_X_ORIGIN = 16,
0108     XCB_RENDER_CP_CLIP_Y_ORIGIN = 32,
0109     XCB_RENDER_CP_CLIP_MASK = 64,
0110     XCB_RENDER_CP_GRAPHICS_EXPOSURE = 128,
0111     XCB_RENDER_CP_SUBWINDOW_MODE = 256,
0112     XCB_RENDER_CP_POLY_EDGE = 512,
0113     XCB_RENDER_CP_POLY_MODE = 1024,
0114     XCB_RENDER_CP_DITHER = 2048,
0115     XCB_RENDER_CP_COMPONENT_ALPHA = 4096
0116 } xcb_render_cp_t;
0117 
0118 typedef enum xcb_render_sub_pixel_t {
0119     XCB_RENDER_SUB_PIXEL_UNKNOWN = 0,
0120     XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB = 1,
0121     XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR = 2,
0122     XCB_RENDER_SUB_PIXEL_VERTICAL_RGB = 3,
0123     XCB_RENDER_SUB_PIXEL_VERTICAL_BGR = 4,
0124     XCB_RENDER_SUB_PIXEL_NONE = 5
0125 } xcb_render_sub_pixel_t;
0126 
0127 typedef enum xcb_render_repeat_t {
0128     XCB_RENDER_REPEAT_NONE = 0,
0129     XCB_RENDER_REPEAT_NORMAL = 1,
0130     XCB_RENDER_REPEAT_PAD = 2,
0131     XCB_RENDER_REPEAT_REFLECT = 3
0132 } xcb_render_repeat_t;
0133 
0134 typedef uint32_t xcb_render_glyph_t;
0135 
0136 /**
0137  * @brief xcb_render_glyph_iterator_t
0138  **/
0139 typedef struct xcb_render_glyph_iterator_t {
0140     xcb_render_glyph_t *data;
0141     int                 rem;
0142     int                 index;
0143 } xcb_render_glyph_iterator_t;
0144 
0145 typedef uint32_t xcb_render_glyphset_t;
0146 
0147 /**
0148  * @brief xcb_render_glyphset_iterator_t
0149  **/
0150 typedef struct xcb_render_glyphset_iterator_t {
0151     xcb_render_glyphset_t *data;
0152     int                    rem;
0153     int                    index;
0154 } xcb_render_glyphset_iterator_t;
0155 
0156 typedef uint32_t xcb_render_picture_t;
0157 
0158 /**
0159  * @brief xcb_render_picture_iterator_t
0160  **/
0161 typedef struct xcb_render_picture_iterator_t {
0162     xcb_render_picture_t *data;
0163     int                   rem;
0164     int                   index;
0165 } xcb_render_picture_iterator_t;
0166 
0167 typedef uint32_t xcb_render_pictformat_t;
0168 
0169 /**
0170  * @brief xcb_render_pictformat_iterator_t
0171  **/
0172 typedef struct xcb_render_pictformat_iterator_t {
0173     xcb_render_pictformat_t *data;
0174     int                      rem;
0175     int                      index;
0176 } xcb_render_pictformat_iterator_t;
0177 
0178 typedef int32_t xcb_render_fixed_t;
0179 
0180 /**
0181  * @brief xcb_render_fixed_iterator_t
0182  **/
0183 typedef struct xcb_render_fixed_iterator_t {
0184     xcb_render_fixed_t *data;
0185     int                 rem;
0186     int                 index;
0187 } xcb_render_fixed_iterator_t;
0188 
0189 /** Opcode for xcb_render_pict_format. */
0190 #define XCB_RENDER_PICT_FORMAT 0
0191 
0192 /**
0193  * @brief xcb_render_pict_format_error_t
0194  **/
0195 typedef struct xcb_render_pict_format_error_t {
0196     uint8_t  response_type;
0197     uint8_t  error_code;
0198     uint16_t sequence;
0199     uint32_t bad_value;
0200     uint16_t minor_opcode;
0201     uint8_t  major_opcode;
0202 } xcb_render_pict_format_error_t;
0203 
0204 /** Opcode for xcb_render_picture. */
0205 #define XCB_RENDER_PICTURE 1
0206 
0207 /**
0208  * @brief xcb_render_picture_error_t
0209  **/
0210 typedef struct xcb_render_picture_error_t {
0211     uint8_t  response_type;
0212     uint8_t  error_code;
0213     uint16_t sequence;
0214     uint32_t bad_value;
0215     uint16_t minor_opcode;
0216     uint8_t  major_opcode;
0217 } xcb_render_picture_error_t;
0218 
0219 /** Opcode for xcb_render_pict_op. */
0220 #define XCB_RENDER_PICT_OP 2
0221 
0222 /**
0223  * @brief xcb_render_pict_op_error_t
0224  **/
0225 typedef struct xcb_render_pict_op_error_t {
0226     uint8_t  response_type;
0227     uint8_t  error_code;
0228     uint16_t sequence;
0229     uint32_t bad_value;
0230     uint16_t minor_opcode;
0231     uint8_t  major_opcode;
0232 } xcb_render_pict_op_error_t;
0233 
0234 /** Opcode for xcb_render_glyph_set. */
0235 #define XCB_RENDER_GLYPH_SET 3
0236 
0237 /**
0238  * @brief xcb_render_glyph_set_error_t
0239  **/
0240 typedef struct xcb_render_glyph_set_error_t {
0241     uint8_t  response_type;
0242     uint8_t  error_code;
0243     uint16_t sequence;
0244     uint32_t bad_value;
0245     uint16_t minor_opcode;
0246     uint8_t  major_opcode;
0247 } xcb_render_glyph_set_error_t;
0248 
0249 /** Opcode for xcb_render_glyph. */
0250 #define XCB_RENDER_GLYPH 4
0251 
0252 /**
0253  * @brief xcb_render_glyph_error_t
0254  **/
0255 typedef struct xcb_render_glyph_error_t {
0256     uint8_t  response_type;
0257     uint8_t  error_code;
0258     uint16_t sequence;
0259     uint32_t bad_value;
0260     uint16_t minor_opcode;
0261     uint8_t  major_opcode;
0262 } xcb_render_glyph_error_t;
0263 
0264 /**
0265  * @brief xcb_render_directformat_t
0266  **/
0267 typedef struct xcb_render_directformat_t {
0268     uint16_t red_shift;
0269     uint16_t red_mask;
0270     uint16_t green_shift;
0271     uint16_t green_mask;
0272     uint16_t blue_shift;
0273     uint16_t blue_mask;
0274     uint16_t alpha_shift;
0275     uint16_t alpha_mask;
0276 } xcb_render_directformat_t;
0277 
0278 /**
0279  * @brief xcb_render_directformat_iterator_t
0280  **/
0281 typedef struct xcb_render_directformat_iterator_t {
0282     xcb_render_directformat_t *data;
0283     int                        rem;
0284     int                        index;
0285 } xcb_render_directformat_iterator_t;
0286 
0287 /**
0288  * @brief xcb_render_pictforminfo_t
0289  **/
0290 typedef struct xcb_render_pictforminfo_t {
0291     xcb_render_pictformat_t   id;
0292     uint8_t                   type;
0293     uint8_t                   depth;
0294     uint8_t                   pad0[2];
0295     xcb_render_directformat_t direct;
0296     xcb_colormap_t            colormap;
0297 } xcb_render_pictforminfo_t;
0298 
0299 /**
0300  * @brief xcb_render_pictforminfo_iterator_t
0301  **/
0302 typedef struct xcb_render_pictforminfo_iterator_t {
0303     xcb_render_pictforminfo_t *data;
0304     int                        rem;
0305     int                        index;
0306 } xcb_render_pictforminfo_iterator_t;
0307 
0308 /**
0309  * @brief xcb_render_pictvisual_t
0310  **/
0311 typedef struct xcb_render_pictvisual_t {
0312     xcb_visualid_t          visual;
0313     xcb_render_pictformat_t format;
0314 } xcb_render_pictvisual_t;
0315 
0316 /**
0317  * @brief xcb_render_pictvisual_iterator_t
0318  **/
0319 typedef struct xcb_render_pictvisual_iterator_t {
0320     xcb_render_pictvisual_t *data;
0321     int                      rem;
0322     int                      index;
0323 } xcb_render_pictvisual_iterator_t;
0324 
0325 /**
0326  * @brief xcb_render_pictdepth_t
0327  **/
0328 typedef struct xcb_render_pictdepth_t {
0329     uint8_t  depth;
0330     uint8_t  pad0;
0331     uint16_t num_visuals;
0332     uint8_t  pad1[4];
0333 } xcb_render_pictdepth_t;
0334 
0335 /**
0336  * @brief xcb_render_pictdepth_iterator_t
0337  **/
0338 typedef struct xcb_render_pictdepth_iterator_t {
0339     xcb_render_pictdepth_t *data;
0340     int                     rem;
0341     int                     index;
0342 } xcb_render_pictdepth_iterator_t;
0343 
0344 /**
0345  * @brief xcb_render_pictscreen_t
0346  **/
0347 typedef struct xcb_render_pictscreen_t {
0348     uint32_t                num_depths;
0349     xcb_render_pictformat_t fallback;
0350 } xcb_render_pictscreen_t;
0351 
0352 /**
0353  * @brief xcb_render_pictscreen_iterator_t
0354  **/
0355 typedef struct xcb_render_pictscreen_iterator_t {
0356     xcb_render_pictscreen_t *data;
0357     int                      rem;
0358     int                      index;
0359 } xcb_render_pictscreen_iterator_t;
0360 
0361 /**
0362  * @brief xcb_render_indexvalue_t
0363  **/
0364 typedef struct xcb_render_indexvalue_t {
0365     uint32_t pixel;
0366     uint16_t red;
0367     uint16_t green;
0368     uint16_t blue;
0369     uint16_t alpha;
0370 } xcb_render_indexvalue_t;
0371 
0372 /**
0373  * @brief xcb_render_indexvalue_iterator_t
0374  **/
0375 typedef struct xcb_render_indexvalue_iterator_t {
0376     xcb_render_indexvalue_t *data;
0377     int                      rem;
0378     int                      index;
0379 } xcb_render_indexvalue_iterator_t;
0380 
0381 /**
0382  * @brief xcb_render_color_t
0383  **/
0384 typedef struct xcb_render_color_t {
0385     uint16_t red;
0386     uint16_t green;
0387     uint16_t blue;
0388     uint16_t alpha;
0389 } xcb_render_color_t;
0390 
0391 /**
0392  * @brief xcb_render_color_iterator_t
0393  **/
0394 typedef struct xcb_render_color_iterator_t {
0395     xcb_render_color_t *data;
0396     int                 rem;
0397     int                 index;
0398 } xcb_render_color_iterator_t;
0399 
0400 /**
0401  * @brief xcb_render_pointfix_t
0402  **/
0403 typedef struct xcb_render_pointfix_t {
0404     xcb_render_fixed_t x;
0405     xcb_render_fixed_t y;
0406 } xcb_render_pointfix_t;
0407 
0408 /**
0409  * @brief xcb_render_pointfix_iterator_t
0410  **/
0411 typedef struct xcb_render_pointfix_iterator_t {
0412     xcb_render_pointfix_t *data;
0413     int                    rem;
0414     int                    index;
0415 } xcb_render_pointfix_iterator_t;
0416 
0417 /**
0418  * @brief xcb_render_linefix_t
0419  **/
0420 typedef struct xcb_render_linefix_t {
0421     xcb_render_pointfix_t p1;
0422     xcb_render_pointfix_t p2;
0423 } xcb_render_linefix_t;
0424 
0425 /**
0426  * @brief xcb_render_linefix_iterator_t
0427  **/
0428 typedef struct xcb_render_linefix_iterator_t {
0429     xcb_render_linefix_t *data;
0430     int                   rem;
0431     int                   index;
0432 } xcb_render_linefix_iterator_t;
0433 
0434 /**
0435  * @brief xcb_render_triangle_t
0436  **/
0437 typedef struct xcb_render_triangle_t {
0438     xcb_render_pointfix_t p1;
0439     xcb_render_pointfix_t p2;
0440     xcb_render_pointfix_t p3;
0441 } xcb_render_triangle_t;
0442 
0443 /**
0444  * @brief xcb_render_triangle_iterator_t
0445  **/
0446 typedef struct xcb_render_triangle_iterator_t {
0447     xcb_render_triangle_t *data;
0448     int                    rem;
0449     int                    index;
0450 } xcb_render_triangle_iterator_t;
0451 
0452 /**
0453  * @brief xcb_render_trapezoid_t
0454  **/
0455 typedef struct xcb_render_trapezoid_t {
0456     xcb_render_fixed_t   top;
0457     xcb_render_fixed_t   bottom;
0458     xcb_render_linefix_t left;
0459     xcb_render_linefix_t right;
0460 } xcb_render_trapezoid_t;
0461 
0462 /**
0463  * @brief xcb_render_trapezoid_iterator_t
0464  **/
0465 typedef struct xcb_render_trapezoid_iterator_t {
0466     xcb_render_trapezoid_t *data;
0467     int                     rem;
0468     int                     index;
0469 } xcb_render_trapezoid_iterator_t;
0470 
0471 /**
0472  * @brief xcb_render_glyphinfo_t
0473  **/
0474 typedef struct xcb_render_glyphinfo_t {
0475     uint16_t width;
0476     uint16_t height;
0477     int16_t  x;
0478     int16_t  y;
0479     int16_t  x_off;
0480     int16_t  y_off;
0481 } xcb_render_glyphinfo_t;
0482 
0483 /**
0484  * @brief xcb_render_glyphinfo_iterator_t
0485  **/
0486 typedef struct xcb_render_glyphinfo_iterator_t {
0487     xcb_render_glyphinfo_t *data;
0488     int                     rem;
0489     int                     index;
0490 } xcb_render_glyphinfo_iterator_t;
0491 
0492 /**
0493  * @brief xcb_render_query_version_cookie_t
0494  **/
0495 typedef struct xcb_render_query_version_cookie_t {
0496     unsigned int sequence;
0497 } xcb_render_query_version_cookie_t;
0498 
0499 /** Opcode for xcb_render_query_version. */
0500 #define XCB_RENDER_QUERY_VERSION 0
0501 
0502 /**
0503  * @brief xcb_render_query_version_request_t
0504  **/
0505 typedef struct xcb_render_query_version_request_t {
0506     uint8_t  major_opcode;
0507     uint8_t  minor_opcode;
0508     uint16_t length;
0509     uint32_t client_major_version;
0510     uint32_t client_minor_version;
0511 } xcb_render_query_version_request_t;
0512 
0513 /**
0514  * @brief xcb_render_query_version_reply_t
0515  **/
0516 typedef struct xcb_render_query_version_reply_t {
0517     uint8_t  response_type;
0518     uint8_t  pad0;
0519     uint16_t sequence;
0520     uint32_t length;
0521     uint32_t major_version;
0522     uint32_t minor_version;
0523     uint8_t  pad1[16];
0524 } xcb_render_query_version_reply_t;
0525 
0526 /**
0527  * @brief xcb_render_query_pict_formats_cookie_t
0528  **/
0529 typedef struct xcb_render_query_pict_formats_cookie_t {
0530     unsigned int sequence;
0531 } xcb_render_query_pict_formats_cookie_t;
0532 
0533 /** Opcode for xcb_render_query_pict_formats. */
0534 #define XCB_RENDER_QUERY_PICT_FORMATS 1
0535 
0536 /**
0537  * @brief xcb_render_query_pict_formats_request_t
0538  **/
0539 typedef struct xcb_render_query_pict_formats_request_t {
0540     uint8_t  major_opcode;
0541     uint8_t  minor_opcode;
0542     uint16_t length;
0543 } xcb_render_query_pict_formats_request_t;
0544 
0545 /**
0546  * @brief xcb_render_query_pict_formats_reply_t
0547  **/
0548 typedef struct xcb_render_query_pict_formats_reply_t {
0549     uint8_t  response_type;
0550     uint8_t  pad0;
0551     uint16_t sequence;
0552     uint32_t length;
0553     uint32_t num_formats;
0554     uint32_t num_screens;
0555     uint32_t num_depths;
0556     uint32_t num_visuals;
0557     uint32_t num_subpixel;
0558     uint8_t  pad1[4];
0559 } xcb_render_query_pict_formats_reply_t;
0560 
0561 /**
0562  * @brief xcb_render_query_pict_index_values_cookie_t
0563  **/
0564 typedef struct xcb_render_query_pict_index_values_cookie_t {
0565     unsigned int sequence;
0566 } xcb_render_query_pict_index_values_cookie_t;
0567 
0568 /** Opcode for xcb_render_query_pict_index_values. */
0569 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
0570 
0571 /**
0572  * @brief xcb_render_query_pict_index_values_request_t
0573  **/
0574 typedef struct xcb_render_query_pict_index_values_request_t {
0575     uint8_t                 major_opcode;
0576     uint8_t                 minor_opcode;
0577     uint16_t                length;
0578     xcb_render_pictformat_t format;
0579 } xcb_render_query_pict_index_values_request_t;
0580 
0581 /**
0582  * @brief xcb_render_query_pict_index_values_reply_t
0583  **/
0584 typedef struct xcb_render_query_pict_index_values_reply_t {
0585     uint8_t  response_type;
0586     uint8_t  pad0;
0587     uint16_t sequence;
0588     uint32_t length;
0589     uint32_t num_values;
0590     uint8_t  pad1[20];
0591 } xcb_render_query_pict_index_values_reply_t;
0592 
0593 /**
0594  * @brief xcb_render_create_picture_value_list_t
0595  **/
0596 typedef struct xcb_render_create_picture_value_list_t {
0597     uint32_t             repeat;
0598     xcb_render_picture_t alphamap;
0599     int32_t              alphaxorigin;
0600     int32_t              alphayorigin;
0601     int32_t              clipxorigin;
0602     int32_t              clipyorigin;
0603     xcb_pixmap_t         clipmask;
0604     uint32_t             graphicsexposure;
0605     uint32_t             subwindowmode;
0606     uint32_t             polyedge;
0607     uint32_t             polymode;
0608     xcb_atom_t           dither;
0609     uint32_t             componentalpha;
0610 } xcb_render_create_picture_value_list_t;
0611 
0612 /** Opcode for xcb_render_create_picture. */
0613 #define XCB_RENDER_CREATE_PICTURE 4
0614 
0615 /**
0616  * @brief xcb_render_create_picture_request_t
0617  **/
0618 typedef struct xcb_render_create_picture_request_t {
0619     uint8_t                 major_opcode;
0620     uint8_t                 minor_opcode;
0621     uint16_t                length;
0622     xcb_render_picture_t    pid;
0623     xcb_drawable_t          drawable;
0624     xcb_render_pictformat_t format;
0625     uint32_t                value_mask;
0626 } xcb_render_create_picture_request_t;
0627 
0628 /**
0629  * @brief xcb_render_change_picture_value_list_t
0630  **/
0631 typedef struct xcb_render_change_picture_value_list_t {
0632     uint32_t             repeat;
0633     xcb_render_picture_t alphamap;
0634     int32_t              alphaxorigin;
0635     int32_t              alphayorigin;
0636     int32_t              clipxorigin;
0637     int32_t              clipyorigin;
0638     xcb_pixmap_t         clipmask;
0639     uint32_t             graphicsexposure;
0640     uint32_t             subwindowmode;
0641     uint32_t             polyedge;
0642     uint32_t             polymode;
0643     xcb_atom_t           dither;
0644     uint32_t             componentalpha;
0645 } xcb_render_change_picture_value_list_t;
0646 
0647 /** Opcode for xcb_render_change_picture. */
0648 #define XCB_RENDER_CHANGE_PICTURE 5
0649 
0650 /**
0651  * @brief xcb_render_change_picture_request_t
0652  **/
0653 typedef struct xcb_render_change_picture_request_t {
0654     uint8_t              major_opcode;
0655     uint8_t              minor_opcode;
0656     uint16_t             length;
0657     xcb_render_picture_t picture;
0658     uint32_t             value_mask;
0659 } xcb_render_change_picture_request_t;
0660 
0661 /** Opcode for xcb_render_set_picture_clip_rectangles. */
0662 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
0663 
0664 /**
0665  * @brief xcb_render_set_picture_clip_rectangles_request_t
0666  **/
0667 typedef struct xcb_render_set_picture_clip_rectangles_request_t {
0668     uint8_t              major_opcode;
0669     uint8_t              minor_opcode;
0670     uint16_t             length;
0671     xcb_render_picture_t picture;
0672     int16_t              clip_x_origin;
0673     int16_t              clip_y_origin;
0674 } xcb_render_set_picture_clip_rectangles_request_t;
0675 
0676 /** Opcode for xcb_render_free_picture. */
0677 #define XCB_RENDER_FREE_PICTURE 7
0678 
0679 /**
0680  * @brief xcb_render_free_picture_request_t
0681  **/
0682 typedef struct xcb_render_free_picture_request_t {
0683     uint8_t              major_opcode;
0684     uint8_t              minor_opcode;
0685     uint16_t             length;
0686     xcb_render_picture_t picture;
0687 } xcb_render_free_picture_request_t;
0688 
0689 /** Opcode for xcb_render_composite. */
0690 #define XCB_RENDER_COMPOSITE 8
0691 
0692 /**
0693  * @brief xcb_render_composite_request_t
0694  **/
0695 typedef struct xcb_render_composite_request_t {
0696     uint8_t              major_opcode;
0697     uint8_t              minor_opcode;
0698     uint16_t             length;
0699     uint8_t              op;
0700     uint8_t              pad0[3];
0701     xcb_render_picture_t src;
0702     xcb_render_picture_t mask;
0703     xcb_render_picture_t dst;
0704     int16_t              src_x;
0705     int16_t              src_y;
0706     int16_t              mask_x;
0707     int16_t              mask_y;
0708     int16_t              dst_x;
0709     int16_t              dst_y;
0710     uint16_t             width;
0711     uint16_t             height;
0712 } xcb_render_composite_request_t;
0713 
0714 /** Opcode for xcb_render_trapezoids. */
0715 #define XCB_RENDER_TRAPEZOIDS 10
0716 
0717 /**
0718  * @brief xcb_render_trapezoids_request_t
0719  **/
0720 typedef struct xcb_render_trapezoids_request_t {
0721     uint8_t                 major_opcode;
0722     uint8_t                 minor_opcode;
0723     uint16_t                length;
0724     uint8_t                 op;
0725     uint8_t                 pad0[3];
0726     xcb_render_picture_t    src;
0727     xcb_render_picture_t    dst;
0728     xcb_render_pictformat_t mask_format;
0729     int16_t                 src_x;
0730     int16_t                 src_y;
0731 } xcb_render_trapezoids_request_t;
0732 
0733 /** Opcode for xcb_render_triangles. */
0734 #define XCB_RENDER_TRIANGLES 11
0735 
0736 /**
0737  * @brief xcb_render_triangles_request_t
0738  **/
0739 typedef struct xcb_render_triangles_request_t {
0740     uint8_t                 major_opcode;
0741     uint8_t                 minor_opcode;
0742     uint16_t                length;
0743     uint8_t                 op;
0744     uint8_t                 pad0[3];
0745     xcb_render_picture_t    src;
0746     xcb_render_picture_t    dst;
0747     xcb_render_pictformat_t mask_format;
0748     int16_t                 src_x;
0749     int16_t                 src_y;
0750 } xcb_render_triangles_request_t;
0751 
0752 /** Opcode for xcb_render_tri_strip. */
0753 #define XCB_RENDER_TRI_STRIP 12
0754 
0755 /**
0756  * @brief xcb_render_tri_strip_request_t
0757  **/
0758 typedef struct xcb_render_tri_strip_request_t {
0759     uint8_t                 major_opcode;
0760     uint8_t                 minor_opcode;
0761     uint16_t                length;
0762     uint8_t                 op;
0763     uint8_t                 pad0[3];
0764     xcb_render_picture_t    src;
0765     xcb_render_picture_t    dst;
0766     xcb_render_pictformat_t mask_format;
0767     int16_t                 src_x;
0768     int16_t                 src_y;
0769 } xcb_render_tri_strip_request_t;
0770 
0771 /** Opcode for xcb_render_tri_fan. */
0772 #define XCB_RENDER_TRI_FAN 13
0773 
0774 /**
0775  * @brief xcb_render_tri_fan_request_t
0776  **/
0777 typedef struct xcb_render_tri_fan_request_t {
0778     uint8_t                 major_opcode;
0779     uint8_t                 minor_opcode;
0780     uint16_t                length;
0781     uint8_t                 op;
0782     uint8_t                 pad0[3];
0783     xcb_render_picture_t    src;
0784     xcb_render_picture_t    dst;
0785     xcb_render_pictformat_t mask_format;
0786     int16_t                 src_x;
0787     int16_t                 src_y;
0788 } xcb_render_tri_fan_request_t;
0789 
0790 /** Opcode for xcb_render_create_glyph_set. */
0791 #define XCB_RENDER_CREATE_GLYPH_SET 17
0792 
0793 /**
0794  * @brief xcb_render_create_glyph_set_request_t
0795  **/
0796 typedef struct xcb_render_create_glyph_set_request_t {
0797     uint8_t                 major_opcode;
0798     uint8_t                 minor_opcode;
0799     uint16_t                length;
0800     xcb_render_glyphset_t   gsid;
0801     xcb_render_pictformat_t format;
0802 } xcb_render_create_glyph_set_request_t;
0803 
0804 /** Opcode for xcb_render_reference_glyph_set. */
0805 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
0806 
0807 /**
0808  * @brief xcb_render_reference_glyph_set_request_t
0809  **/
0810 typedef struct xcb_render_reference_glyph_set_request_t {
0811     uint8_t               major_opcode;
0812     uint8_t               minor_opcode;
0813     uint16_t              length;
0814     xcb_render_glyphset_t gsid;
0815     xcb_render_glyphset_t existing;
0816 } xcb_render_reference_glyph_set_request_t;
0817 
0818 /** Opcode for xcb_render_free_glyph_set. */
0819 #define XCB_RENDER_FREE_GLYPH_SET 19
0820 
0821 /**
0822  * @brief xcb_render_free_glyph_set_request_t
0823  **/
0824 typedef struct xcb_render_free_glyph_set_request_t {
0825     uint8_t               major_opcode;
0826     uint8_t               minor_opcode;
0827     uint16_t              length;
0828     xcb_render_glyphset_t glyphset;
0829 } xcb_render_free_glyph_set_request_t;
0830 
0831 /** Opcode for xcb_render_add_glyphs. */
0832 #define XCB_RENDER_ADD_GLYPHS 20
0833 
0834 /**
0835  * @brief xcb_render_add_glyphs_request_t
0836  **/
0837 typedef struct xcb_render_add_glyphs_request_t {
0838     uint8_t               major_opcode;
0839     uint8_t               minor_opcode;
0840     uint16_t              length;
0841     xcb_render_glyphset_t glyphset;
0842     uint32_t              glyphs_len;
0843 } xcb_render_add_glyphs_request_t;
0844 
0845 /** Opcode for xcb_render_free_glyphs. */
0846 #define XCB_RENDER_FREE_GLYPHS 22
0847 
0848 /**
0849  * @brief xcb_render_free_glyphs_request_t
0850  **/
0851 typedef struct xcb_render_free_glyphs_request_t {
0852     uint8_t               major_opcode;
0853     uint8_t               minor_opcode;
0854     uint16_t              length;
0855     xcb_render_glyphset_t glyphset;
0856 } xcb_render_free_glyphs_request_t;
0857 
0858 /** Opcode for xcb_render_composite_glyphs_8. */
0859 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
0860 
0861 /**
0862  * @brief xcb_render_composite_glyphs_8_request_t
0863  **/
0864 typedef struct xcb_render_composite_glyphs_8_request_t {
0865     uint8_t                 major_opcode;
0866     uint8_t                 minor_opcode;
0867     uint16_t                length;
0868     uint8_t                 op;
0869     uint8_t                 pad0[3];
0870     xcb_render_picture_t    src;
0871     xcb_render_picture_t    dst;
0872     xcb_render_pictformat_t mask_format;
0873     xcb_render_glyphset_t   glyphset;
0874     int16_t                 src_x;
0875     int16_t                 src_y;
0876 } xcb_render_composite_glyphs_8_request_t;
0877 
0878 /** Opcode for xcb_render_composite_glyphs_16. */
0879 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
0880 
0881 /**
0882  * @brief xcb_render_composite_glyphs_16_request_t
0883  **/
0884 typedef struct xcb_render_composite_glyphs_16_request_t {
0885     uint8_t                 major_opcode;
0886     uint8_t                 minor_opcode;
0887     uint16_t                length;
0888     uint8_t                 op;
0889     uint8_t                 pad0[3];
0890     xcb_render_picture_t    src;
0891     xcb_render_picture_t    dst;
0892     xcb_render_pictformat_t mask_format;
0893     xcb_render_glyphset_t   glyphset;
0894     int16_t                 src_x;
0895     int16_t                 src_y;
0896 } xcb_render_composite_glyphs_16_request_t;
0897 
0898 /** Opcode for xcb_render_composite_glyphs_32. */
0899 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
0900 
0901 /**
0902  * @brief xcb_render_composite_glyphs_32_request_t
0903  **/
0904 typedef struct xcb_render_composite_glyphs_32_request_t {
0905     uint8_t                 major_opcode;
0906     uint8_t                 minor_opcode;
0907     uint16_t                length;
0908     uint8_t                 op;
0909     uint8_t                 pad0[3];
0910     xcb_render_picture_t    src;
0911     xcb_render_picture_t    dst;
0912     xcb_render_pictformat_t mask_format;
0913     xcb_render_glyphset_t   glyphset;
0914     int16_t                 src_x;
0915     int16_t                 src_y;
0916 } xcb_render_composite_glyphs_32_request_t;
0917 
0918 /** Opcode for xcb_render_fill_rectangles. */
0919 #define XCB_RENDER_FILL_RECTANGLES 26
0920 
0921 /**
0922  * @brief xcb_render_fill_rectangles_request_t
0923  **/
0924 typedef struct xcb_render_fill_rectangles_request_t {
0925     uint8_t              major_opcode;
0926     uint8_t              minor_opcode;
0927     uint16_t             length;
0928     uint8_t              op;
0929     uint8_t              pad0[3];
0930     xcb_render_picture_t dst;
0931     xcb_render_color_t   color;
0932 } xcb_render_fill_rectangles_request_t;
0933 
0934 /** Opcode for xcb_render_create_cursor. */
0935 #define XCB_RENDER_CREATE_CURSOR 27
0936 
0937 /**
0938  * @brief xcb_render_create_cursor_request_t
0939  **/
0940 typedef struct xcb_render_create_cursor_request_t {
0941     uint8_t              major_opcode;
0942     uint8_t              minor_opcode;
0943     uint16_t             length;
0944     xcb_cursor_t         cid;
0945     xcb_render_picture_t source;
0946     uint16_t             x;
0947     uint16_t             y;
0948 } xcb_render_create_cursor_request_t;
0949 
0950 /**
0951  * @brief xcb_render_transform_t
0952  **/
0953 typedef struct xcb_render_transform_t {
0954     xcb_render_fixed_t matrix11;
0955     xcb_render_fixed_t matrix12;
0956     xcb_render_fixed_t matrix13;
0957     xcb_render_fixed_t matrix21;
0958     xcb_render_fixed_t matrix22;
0959     xcb_render_fixed_t matrix23;
0960     xcb_render_fixed_t matrix31;
0961     xcb_render_fixed_t matrix32;
0962     xcb_render_fixed_t matrix33;
0963 } xcb_render_transform_t;
0964 
0965 /**
0966  * @brief xcb_render_transform_iterator_t
0967  **/
0968 typedef struct xcb_render_transform_iterator_t {
0969     xcb_render_transform_t *data;
0970     int                     rem;
0971     int                     index;
0972 } xcb_render_transform_iterator_t;
0973 
0974 /** Opcode for xcb_render_set_picture_transform. */
0975 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
0976 
0977 /**
0978  * @brief xcb_render_set_picture_transform_request_t
0979  **/
0980 typedef struct xcb_render_set_picture_transform_request_t {
0981     uint8_t                major_opcode;
0982     uint8_t                minor_opcode;
0983     uint16_t               length;
0984     xcb_render_picture_t   picture;
0985     xcb_render_transform_t transform;
0986 } xcb_render_set_picture_transform_request_t;
0987 
0988 /**
0989  * @brief xcb_render_query_filters_cookie_t
0990  **/
0991 typedef struct xcb_render_query_filters_cookie_t {
0992     unsigned int sequence;
0993 } xcb_render_query_filters_cookie_t;
0994 
0995 /** Opcode for xcb_render_query_filters. */
0996 #define XCB_RENDER_QUERY_FILTERS 29
0997 
0998 /**
0999  * @brief xcb_render_query_filters_request_t
1000  **/
1001 typedef struct xcb_render_query_filters_request_t {
1002     uint8_t        major_opcode;
1003     uint8_t        minor_opcode;
1004     uint16_t       length;
1005     xcb_drawable_t drawable;
1006 } xcb_render_query_filters_request_t;
1007 
1008 /**
1009  * @brief xcb_render_query_filters_reply_t
1010  **/
1011 typedef struct xcb_render_query_filters_reply_t {
1012     uint8_t  response_type;
1013     uint8_t  pad0;
1014     uint16_t sequence;
1015     uint32_t length;
1016     uint32_t num_aliases;
1017     uint32_t num_filters;
1018     uint8_t  pad1[16];
1019 } xcb_render_query_filters_reply_t;
1020 
1021 /** Opcode for xcb_render_set_picture_filter. */
1022 #define XCB_RENDER_SET_PICTURE_FILTER 30
1023 
1024 /**
1025  * @brief xcb_render_set_picture_filter_request_t
1026  **/
1027 typedef struct xcb_render_set_picture_filter_request_t {
1028     uint8_t              major_opcode;
1029     uint8_t              minor_opcode;
1030     uint16_t             length;
1031     xcb_render_picture_t picture;
1032     uint16_t             filter_len;
1033     uint8_t              pad0[2];
1034 } xcb_render_set_picture_filter_request_t;
1035 
1036 /**
1037  * @brief xcb_render_animcursorelt_t
1038  **/
1039 typedef struct xcb_render_animcursorelt_t {
1040     xcb_cursor_t cursor;
1041     uint32_t     delay;
1042 } xcb_render_animcursorelt_t;
1043 
1044 /**
1045  * @brief xcb_render_animcursorelt_iterator_t
1046  **/
1047 typedef struct xcb_render_animcursorelt_iterator_t {
1048     xcb_render_animcursorelt_t *data;
1049     int                         rem;
1050     int                         index;
1051 } xcb_render_animcursorelt_iterator_t;
1052 
1053 /** Opcode for xcb_render_create_anim_cursor. */
1054 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
1055 
1056 /**
1057  * @brief xcb_render_create_anim_cursor_request_t
1058  **/
1059 typedef struct xcb_render_create_anim_cursor_request_t {
1060     uint8_t      major_opcode;
1061     uint8_t      minor_opcode;
1062     uint16_t     length;
1063     xcb_cursor_t cid;
1064 } xcb_render_create_anim_cursor_request_t;
1065 
1066 /**
1067  * @brief xcb_render_spanfix_t
1068  **/
1069 typedef struct xcb_render_spanfix_t {
1070     xcb_render_fixed_t l;
1071     xcb_render_fixed_t r;
1072     xcb_render_fixed_t y;
1073 } xcb_render_spanfix_t;
1074 
1075 /**
1076  * @brief xcb_render_spanfix_iterator_t
1077  **/
1078 typedef struct xcb_render_spanfix_iterator_t {
1079     xcb_render_spanfix_t *data;
1080     int                   rem;
1081     int                   index;
1082 } xcb_render_spanfix_iterator_t;
1083 
1084 /**
1085  * @brief xcb_render_trap_t
1086  **/
1087 typedef struct xcb_render_trap_t {
1088     xcb_render_spanfix_t top;
1089     xcb_render_spanfix_t bot;
1090 } xcb_render_trap_t;
1091 
1092 /**
1093  * @brief xcb_render_trap_iterator_t
1094  **/
1095 typedef struct xcb_render_trap_iterator_t {
1096     xcb_render_trap_t *data;
1097     int                rem;
1098     int                index;
1099 } xcb_render_trap_iterator_t;
1100 
1101 /** Opcode for xcb_render_add_traps. */
1102 #define XCB_RENDER_ADD_TRAPS 32
1103 
1104 /**
1105  * @brief xcb_render_add_traps_request_t
1106  **/
1107 typedef struct xcb_render_add_traps_request_t {
1108     uint8_t              major_opcode;
1109     uint8_t              minor_opcode;
1110     uint16_t             length;
1111     xcb_render_picture_t picture;
1112     int16_t              x_off;
1113     int16_t              y_off;
1114 } xcb_render_add_traps_request_t;
1115 
1116 /** Opcode for xcb_render_create_solid_fill. */
1117 #define XCB_RENDER_CREATE_SOLID_FILL 33
1118 
1119 /**
1120  * @brief xcb_render_create_solid_fill_request_t
1121  **/
1122 typedef struct xcb_render_create_solid_fill_request_t {
1123     uint8_t              major_opcode;
1124     uint8_t              minor_opcode;
1125     uint16_t             length;
1126     xcb_render_picture_t picture;
1127     xcb_render_color_t   color;
1128 } xcb_render_create_solid_fill_request_t;
1129 
1130 /** Opcode for xcb_render_create_linear_gradient. */
1131 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
1132 
1133 /**
1134  * @brief xcb_render_create_linear_gradient_request_t
1135  **/
1136 typedef struct xcb_render_create_linear_gradient_request_t {
1137     uint8_t               major_opcode;
1138     uint8_t               minor_opcode;
1139     uint16_t              length;
1140     xcb_render_picture_t  picture;
1141     xcb_render_pointfix_t p1;
1142     xcb_render_pointfix_t p2;
1143     uint32_t              num_stops;
1144 } xcb_render_create_linear_gradient_request_t;
1145 
1146 /** Opcode for xcb_render_create_radial_gradient. */
1147 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
1148 
1149 /**
1150  * @brief xcb_render_create_radial_gradient_request_t
1151  **/
1152 typedef struct xcb_render_create_radial_gradient_request_t {
1153     uint8_t               major_opcode;
1154     uint8_t               minor_opcode;
1155     uint16_t              length;
1156     xcb_render_picture_t  picture;
1157     xcb_render_pointfix_t inner;
1158     xcb_render_pointfix_t outer;
1159     xcb_render_fixed_t    inner_radius;
1160     xcb_render_fixed_t    outer_radius;
1161     uint32_t              num_stops;
1162 } xcb_render_create_radial_gradient_request_t;
1163 
1164 /** Opcode for xcb_render_create_conical_gradient. */
1165 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
1166 
1167 /**
1168  * @brief xcb_render_create_conical_gradient_request_t
1169  **/
1170 typedef struct xcb_render_create_conical_gradient_request_t {
1171     uint8_t               major_opcode;
1172     uint8_t               minor_opcode;
1173     uint16_t              length;
1174     xcb_render_picture_t  picture;
1175     xcb_render_pointfix_t center;
1176     xcb_render_fixed_t    angle;
1177     uint32_t              num_stops;
1178 } xcb_render_create_conical_gradient_request_t;
1179 
1180 /**
1181  * Get the next element of the iterator
1182  * @param i Pointer to a xcb_render_glyph_iterator_t
1183  *
1184  * Get the next element in the iterator. The member rem is
1185  * decreased by one. The member data points to the next
1186  * element. The member index is increased by sizeof(xcb_render_glyph_t)
1187  */
1188 void
1189 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i);
1190 
1191 /**
1192  * Return the iterator pointing to the last element
1193  * @param i An xcb_render_glyph_iterator_t
1194  * @return  The iterator pointing to the last element
1195  *
1196  * Set the current element in the iterator to the last element.
1197  * The member rem is set to 0. The member data points to the
1198  * last element.
1199  */
1200 xcb_generic_iterator_t
1201 xcb_render_glyph_end (xcb_render_glyph_iterator_t i);
1202 
1203 /**
1204  * Get the next element of the iterator
1205  * @param i Pointer to a xcb_render_glyphset_iterator_t
1206  *
1207  * Get the next element in the iterator. The member rem is
1208  * decreased by one. The member data points to the next
1209  * element. The member index is increased by sizeof(xcb_render_glyphset_t)
1210  */
1211 void
1212 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i);
1213 
1214 /**
1215  * Return the iterator pointing to the last element
1216  * @param i An xcb_render_glyphset_iterator_t
1217  * @return  The iterator pointing to the last element
1218  *
1219  * Set the current element in the iterator to the last element.
1220  * The member rem is set to 0. The member data points to the
1221  * last element.
1222  */
1223 xcb_generic_iterator_t
1224 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i);
1225 
1226 /**
1227  * Get the next element of the iterator
1228  * @param i Pointer to a xcb_render_picture_iterator_t
1229  *
1230  * Get the next element in the iterator. The member rem is
1231  * decreased by one. The member data points to the next
1232  * element. The member index is increased by sizeof(xcb_render_picture_t)
1233  */
1234 void
1235 xcb_render_picture_next (xcb_render_picture_iterator_t *i);
1236 
1237 /**
1238  * Return the iterator pointing to the last element
1239  * @param i An xcb_render_picture_iterator_t
1240  * @return  The iterator pointing to the last element
1241  *
1242  * Set the current element in the iterator to the last element.
1243  * The member rem is set to 0. The member data points to the
1244  * last element.
1245  */
1246 xcb_generic_iterator_t
1247 xcb_render_picture_end (xcb_render_picture_iterator_t i);
1248 
1249 /**
1250  * Get the next element of the iterator
1251  * @param i Pointer to a xcb_render_pictformat_iterator_t
1252  *
1253  * Get the next element in the iterator. The member rem is
1254  * decreased by one. The member data points to the next
1255  * element. The member index is increased by sizeof(xcb_render_pictformat_t)
1256  */
1257 void
1258 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i);
1259 
1260 /**
1261  * Return the iterator pointing to the last element
1262  * @param i An xcb_render_pictformat_iterator_t
1263  * @return  The iterator pointing to the last element
1264  *
1265  * Set the current element in the iterator to the last element.
1266  * The member rem is set to 0. The member data points to the
1267  * last element.
1268  */
1269 xcb_generic_iterator_t
1270 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i);
1271 
1272 /**
1273  * Get the next element of the iterator
1274  * @param i Pointer to a xcb_render_fixed_iterator_t
1275  *
1276  * Get the next element in the iterator. The member rem is
1277  * decreased by one. The member data points to the next
1278  * element. The member index is increased by sizeof(xcb_render_fixed_t)
1279  */
1280 void
1281 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i);
1282 
1283 /**
1284  * Return the iterator pointing to the last element
1285  * @param i An xcb_render_fixed_iterator_t
1286  * @return  The iterator pointing to the last element
1287  *
1288  * Set the current element in the iterator to the last element.
1289  * The member rem is set to 0. The member data points to the
1290  * last element.
1291  */
1292 xcb_generic_iterator_t
1293 xcb_render_fixed_end (xcb_render_fixed_iterator_t i);
1294 
1295 /**
1296  * Get the next element of the iterator
1297  * @param i Pointer to a xcb_render_directformat_iterator_t
1298  *
1299  * Get the next element in the iterator. The member rem is
1300  * decreased by one. The member data points to the next
1301  * element. The member index is increased by sizeof(xcb_render_directformat_t)
1302  */
1303 void
1304 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i);
1305 
1306 /**
1307  * Return the iterator pointing to the last element
1308  * @param i An xcb_render_directformat_iterator_t
1309  * @return  The iterator pointing to the last element
1310  *
1311  * Set the current element in the iterator to the last element.
1312  * The member rem is set to 0. The member data points to the
1313  * last element.
1314  */
1315 xcb_generic_iterator_t
1316 xcb_render_directformat_end (xcb_render_directformat_iterator_t i);
1317 
1318 /**
1319  * Get the next element of the iterator
1320  * @param i Pointer to a xcb_render_pictforminfo_iterator_t
1321  *
1322  * Get the next element in the iterator. The member rem is
1323  * decreased by one. The member data points to the next
1324  * element. The member index is increased by sizeof(xcb_render_pictforminfo_t)
1325  */
1326 void
1327 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i);
1328 
1329 /**
1330  * Return the iterator pointing to the last element
1331  * @param i An xcb_render_pictforminfo_iterator_t
1332  * @return  The iterator pointing to the last element
1333  *
1334  * Set the current element in the iterator to the last element.
1335  * The member rem is set to 0. The member data points to the
1336  * last element.
1337  */
1338 xcb_generic_iterator_t
1339 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i);
1340 
1341 /**
1342  * Get the next element of the iterator
1343  * @param i Pointer to a xcb_render_pictvisual_iterator_t
1344  *
1345  * Get the next element in the iterator. The member rem is
1346  * decreased by one. The member data points to the next
1347  * element. The member index is increased by sizeof(xcb_render_pictvisual_t)
1348  */
1349 void
1350 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i);
1351 
1352 /**
1353  * Return the iterator pointing to the last element
1354  * @param i An xcb_render_pictvisual_iterator_t
1355  * @return  The iterator pointing to the last element
1356  *
1357  * Set the current element in the iterator to the last element.
1358  * The member rem is set to 0. The member data points to the
1359  * last element.
1360  */
1361 xcb_generic_iterator_t
1362 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i);
1363 
1364 int
1365 xcb_render_pictdepth_sizeof (const void  *_buffer);
1366 
1367 xcb_render_pictvisual_t *
1368 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R);
1369 
1370 int
1371 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R);
1372 
1373 xcb_render_pictvisual_iterator_t
1374 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R);
1375 
1376 /**
1377  * Get the next element of the iterator
1378  * @param i Pointer to a xcb_render_pictdepth_iterator_t
1379  *
1380  * Get the next element in the iterator. The member rem is
1381  * decreased by one. The member data points to the next
1382  * element. The member index is increased by sizeof(xcb_render_pictdepth_t)
1383  */
1384 void
1385 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i);
1386 
1387 /**
1388  * Return the iterator pointing to the last element
1389  * @param i An xcb_render_pictdepth_iterator_t
1390  * @return  The iterator pointing to the last element
1391  *
1392  * Set the current element in the iterator to the last element.
1393  * The member rem is set to 0. The member data points to the
1394  * last element.
1395  */
1396 xcb_generic_iterator_t
1397 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i);
1398 
1399 int
1400 xcb_render_pictscreen_sizeof (const void  *_buffer);
1401 
1402 int
1403 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R);
1404 
1405 xcb_render_pictdepth_iterator_t
1406 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R);
1407 
1408 /**
1409  * Get the next element of the iterator
1410  * @param i Pointer to a xcb_render_pictscreen_iterator_t
1411  *
1412  * Get the next element in the iterator. The member rem is
1413  * decreased by one. The member data points to the next
1414  * element. The member index is increased by sizeof(xcb_render_pictscreen_t)
1415  */
1416 void
1417 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i);
1418 
1419 /**
1420  * Return the iterator pointing to the last element
1421  * @param i An xcb_render_pictscreen_iterator_t
1422  * @return  The iterator pointing to the last element
1423  *
1424  * Set the current element in the iterator to the last element.
1425  * The member rem is set to 0. The member data points to the
1426  * last element.
1427  */
1428 xcb_generic_iterator_t
1429 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i);
1430 
1431 /**
1432  * Get the next element of the iterator
1433  * @param i Pointer to a xcb_render_indexvalue_iterator_t
1434  *
1435  * Get the next element in the iterator. The member rem is
1436  * decreased by one. The member data points to the next
1437  * element. The member index is increased by sizeof(xcb_render_indexvalue_t)
1438  */
1439 void
1440 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i);
1441 
1442 /**
1443  * Return the iterator pointing to the last element
1444  * @param i An xcb_render_indexvalue_iterator_t
1445  * @return  The iterator pointing to the last element
1446  *
1447  * Set the current element in the iterator to the last element.
1448  * The member rem is set to 0. The member data points to the
1449  * last element.
1450  */
1451 xcb_generic_iterator_t
1452 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i);
1453 
1454 /**
1455  * Get the next element of the iterator
1456  * @param i Pointer to a xcb_render_color_iterator_t
1457  *
1458  * Get the next element in the iterator. The member rem is
1459  * decreased by one. The member data points to the next
1460  * element. The member index is increased by sizeof(xcb_render_color_t)
1461  */
1462 void
1463 xcb_render_color_next (xcb_render_color_iterator_t *i);
1464 
1465 /**
1466  * Return the iterator pointing to the last element
1467  * @param i An xcb_render_color_iterator_t
1468  * @return  The iterator pointing to the last element
1469  *
1470  * Set the current element in the iterator to the last element.
1471  * The member rem is set to 0. The member data points to the
1472  * last element.
1473  */
1474 xcb_generic_iterator_t
1475 xcb_render_color_end (xcb_render_color_iterator_t i);
1476 
1477 /**
1478  * Get the next element of the iterator
1479  * @param i Pointer to a xcb_render_pointfix_iterator_t
1480  *
1481  * Get the next element in the iterator. The member rem is
1482  * decreased by one. The member data points to the next
1483  * element. The member index is increased by sizeof(xcb_render_pointfix_t)
1484  */
1485 void
1486 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i);
1487 
1488 /**
1489  * Return the iterator pointing to the last element
1490  * @param i An xcb_render_pointfix_iterator_t
1491  * @return  The iterator pointing to the last element
1492  *
1493  * Set the current element in the iterator to the last element.
1494  * The member rem is set to 0. The member data points to the
1495  * last element.
1496  */
1497 xcb_generic_iterator_t
1498 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i);
1499 
1500 /**
1501  * Get the next element of the iterator
1502  * @param i Pointer to a xcb_render_linefix_iterator_t
1503  *
1504  * Get the next element in the iterator. The member rem is
1505  * decreased by one. The member data points to the next
1506  * element. The member index is increased by sizeof(xcb_render_linefix_t)
1507  */
1508 void
1509 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i);
1510 
1511 /**
1512  * Return the iterator pointing to the last element
1513  * @param i An xcb_render_linefix_iterator_t
1514  * @return  The iterator pointing to the last element
1515  *
1516  * Set the current element in the iterator to the last element.
1517  * The member rem is set to 0. The member data points to the
1518  * last element.
1519  */
1520 xcb_generic_iterator_t
1521 xcb_render_linefix_end (xcb_render_linefix_iterator_t i);
1522 
1523 /**
1524  * Get the next element of the iterator
1525  * @param i Pointer to a xcb_render_triangle_iterator_t
1526  *
1527  * Get the next element in the iterator. The member rem is
1528  * decreased by one. The member data points to the next
1529  * element. The member index is increased by sizeof(xcb_render_triangle_t)
1530  */
1531 void
1532 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i);
1533 
1534 /**
1535  * Return the iterator pointing to the last element
1536  * @param i An xcb_render_triangle_iterator_t
1537  * @return  The iterator pointing to the last element
1538  *
1539  * Set the current element in the iterator to the last element.
1540  * The member rem is set to 0. The member data points to the
1541  * last element.
1542  */
1543 xcb_generic_iterator_t
1544 xcb_render_triangle_end (xcb_render_triangle_iterator_t i);
1545 
1546 /**
1547  * Get the next element of the iterator
1548  * @param i Pointer to a xcb_render_trapezoid_iterator_t
1549  *
1550  * Get the next element in the iterator. The member rem is
1551  * decreased by one. The member data points to the next
1552  * element. The member index is increased by sizeof(xcb_render_trapezoid_t)
1553  */
1554 void
1555 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i);
1556 
1557 /**
1558  * Return the iterator pointing to the last element
1559  * @param i An xcb_render_trapezoid_iterator_t
1560  * @return  The iterator pointing to the last element
1561  *
1562  * Set the current element in the iterator to the last element.
1563  * The member rem is set to 0. The member data points to the
1564  * last element.
1565  */
1566 xcb_generic_iterator_t
1567 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i);
1568 
1569 /**
1570  * Get the next element of the iterator
1571  * @param i Pointer to a xcb_render_glyphinfo_iterator_t
1572  *
1573  * Get the next element in the iterator. The member rem is
1574  * decreased by one. The member data points to the next
1575  * element. The member index is increased by sizeof(xcb_render_glyphinfo_t)
1576  */
1577 void
1578 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i);
1579 
1580 /**
1581  * Return the iterator pointing to the last element
1582  * @param i An xcb_render_glyphinfo_iterator_t
1583  * @return  The iterator pointing to the last element
1584  *
1585  * Set the current element in the iterator to the last element.
1586  * The member rem is set to 0. The member data points to the
1587  * last element.
1588  */
1589 xcb_generic_iterator_t
1590 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i);
1591 
1592 /**
1593  *
1594  * @param c The connection
1595  * @return A cookie
1596  *
1597  * Delivers a request to the X server.
1598  *
1599  */
1600 xcb_render_query_version_cookie_t
1601 xcb_render_query_version (xcb_connection_t *c,
1602                           uint32_t          client_major_version,
1603                           uint32_t          client_minor_version);
1604 
1605 /**
1606  *
1607  * @param c The connection
1608  * @return A cookie
1609  *
1610  * Delivers a request to the X server.
1611  *
1612  * This form can be used only if the request will cause
1613  * a reply to be generated. Any returned error will be
1614  * placed in the event queue.
1615  */
1616 xcb_render_query_version_cookie_t
1617 xcb_render_query_version_unchecked (xcb_connection_t *c,
1618                                     uint32_t          client_major_version,
1619                                     uint32_t          client_minor_version);
1620 
1621 /**
1622  * Return the reply
1623  * @param c      The connection
1624  * @param cookie The cookie
1625  * @param e      The xcb_generic_error_t supplied
1626  *
1627  * Returns the reply of the request asked by
1628  *
1629  * The parameter @p e supplied to this function must be NULL if
1630  * xcb_render_query_version_unchecked(). is used.
1631  * Otherwise, it stores the error if any.
1632  *
1633  * The returned value must be freed by the caller using free().
1634  */
1635 xcb_render_query_version_reply_t *
1636 xcb_render_query_version_reply (xcb_connection_t                   *c,
1637                                 xcb_render_query_version_cookie_t   cookie  /**< */,
1638                                 xcb_generic_error_t               **e);
1639 
1640 int
1641 xcb_render_query_pict_formats_sizeof (const void  *_buffer);
1642 
1643 /**
1644  *
1645  * @param c The connection
1646  * @return A cookie
1647  *
1648  * Delivers a request to the X server.
1649  *
1650  */
1651 xcb_render_query_pict_formats_cookie_t
1652 xcb_render_query_pict_formats (xcb_connection_t *c);
1653 
1654 /**
1655  *
1656  * @param c The connection
1657  * @return A cookie
1658  *
1659  * Delivers a request to the X server.
1660  *
1661  * This form can be used only if the request will cause
1662  * a reply to be generated. Any returned error will be
1663  * placed in the event queue.
1664  */
1665 xcb_render_query_pict_formats_cookie_t
1666 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c);
1667 
1668 xcb_render_pictforminfo_t *
1669 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R);
1670 
1671 int
1672 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R);
1673 
1674 xcb_render_pictforminfo_iterator_t
1675 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R);
1676 
1677 int
1678 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R);
1679 
1680 xcb_render_pictscreen_iterator_t
1681 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R);
1682 
1683 uint32_t *
1684 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R);
1685 
1686 int
1687 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R);
1688 
1689 xcb_generic_iterator_t
1690 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R);
1691 
1692 /**
1693  * Return the reply
1694  * @param c      The connection
1695  * @param cookie The cookie
1696  * @param e      The xcb_generic_error_t supplied
1697  *
1698  * Returns the reply of the request asked by
1699  *
1700  * The parameter @p e supplied to this function must be NULL if
1701  * xcb_render_query_pict_formats_unchecked(). is used.
1702  * Otherwise, it stores the error if any.
1703  *
1704  * The returned value must be freed by the caller using free().
1705  */
1706 xcb_render_query_pict_formats_reply_t *
1707 xcb_render_query_pict_formats_reply (xcb_connection_t                        *c,
1708                                      xcb_render_query_pict_formats_cookie_t   cookie  /**< */,
1709                                      xcb_generic_error_t                    **e);
1710 
1711 int
1712 xcb_render_query_pict_index_values_sizeof (const void  *_buffer);
1713 
1714 /**
1715  *
1716  * @param c The connection
1717  * @return A cookie
1718  *
1719  * Delivers a request to the X server.
1720  *
1721  */
1722 xcb_render_query_pict_index_values_cookie_t
1723 xcb_render_query_pict_index_values (xcb_connection_t        *c,
1724                                     xcb_render_pictformat_t  format);
1725 
1726 /**
1727  *
1728  * @param c The connection
1729  * @return A cookie
1730  *
1731  * Delivers a request to the X server.
1732  *
1733  * This form can be used only if the request will cause
1734  * a reply to be generated. Any returned error will be
1735  * placed in the event queue.
1736  */
1737 xcb_render_query_pict_index_values_cookie_t
1738 xcb_render_query_pict_index_values_unchecked (xcb_connection_t        *c,
1739                                               xcb_render_pictformat_t  format);
1740 
1741 xcb_render_indexvalue_t *
1742 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R);
1743 
1744 int
1745 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R);
1746 
1747 xcb_render_indexvalue_iterator_t
1748 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R);
1749 
1750 /**
1751  * Return the reply
1752  * @param c      The connection
1753  * @param cookie The cookie
1754  * @param e      The xcb_generic_error_t supplied
1755  *
1756  * Returns the reply of the request asked by
1757  *
1758  * The parameter @p e supplied to this function must be NULL if
1759  * xcb_render_query_pict_index_values_unchecked(). is used.
1760  * Otherwise, it stores the error if any.
1761  *
1762  * The returned value must be freed by the caller using free().
1763  */
1764 xcb_render_query_pict_index_values_reply_t *
1765 xcb_render_query_pict_index_values_reply (xcb_connection_t                             *c,
1766                                           xcb_render_query_pict_index_values_cookie_t   cookie  /**< */,
1767                                           xcb_generic_error_t                         **e);
1768 
1769 int
1770 xcb_render_create_picture_value_list_serialize (void                                         **_buffer,
1771                                                 uint32_t                                       value_mask,
1772                                                 const xcb_render_create_picture_value_list_t  *_aux);
1773 
1774 int
1775 xcb_render_create_picture_value_list_unpack (const void                              *_buffer,
1776                                              uint32_t                                 value_mask,
1777                                              xcb_render_create_picture_value_list_t  *_aux);
1778 
1779 int
1780 xcb_render_create_picture_value_list_sizeof (const void  *_buffer,
1781                                              uint32_t     value_mask);
1782 
1783 int
1784 xcb_render_create_picture_sizeof (const void  *_buffer);
1785 
1786 /**
1787  *
1788  * @param c The connection
1789  * @return A cookie
1790  *
1791  * Delivers a request to the X server.
1792  *
1793  * This form can be used only if the request will not cause
1794  * a reply to be generated. Any returned error will be
1795  * saved for handling by xcb_request_check().
1796  */
1797 xcb_void_cookie_t
1798 xcb_render_create_picture_checked (xcb_connection_t        *c,
1799                                    xcb_render_picture_t     pid,
1800                                    xcb_drawable_t           drawable,
1801                                    xcb_render_pictformat_t  format,
1802                                    uint32_t                 value_mask,
1803                                    const void              *value_list);
1804 
1805 /**
1806  *
1807  * @param c The connection
1808  * @return A cookie
1809  *
1810  * Delivers a request to the X server.
1811  *
1812  */
1813 xcb_void_cookie_t
1814 xcb_render_create_picture (xcb_connection_t        *c,
1815                            xcb_render_picture_t     pid,
1816                            xcb_drawable_t           drawable,
1817                            xcb_render_pictformat_t  format,
1818                            uint32_t                 value_mask,
1819                            const void              *value_list);
1820 
1821 /**
1822  *
1823  * @param c The connection
1824  * @return A cookie
1825  *
1826  * Delivers a request to the X server.
1827  *
1828  * This form can be used only if the request will not cause
1829  * a reply to be generated. Any returned error will be
1830  * saved for handling by xcb_request_check().
1831  */
1832 xcb_void_cookie_t
1833 xcb_render_create_picture_aux_checked (xcb_connection_t                             *c,
1834                                        xcb_render_picture_t                          pid,
1835                                        xcb_drawable_t                                drawable,
1836                                        xcb_render_pictformat_t                       format,
1837                                        uint32_t                                      value_mask,
1838                                        const xcb_render_create_picture_value_list_t *value_list);
1839 
1840 /**
1841  *
1842  * @param c The connection
1843  * @return A cookie
1844  *
1845  * Delivers a request to the X server.
1846  *
1847  */
1848 xcb_void_cookie_t
1849 xcb_render_create_picture_aux (xcb_connection_t                             *c,
1850                                xcb_render_picture_t                          pid,
1851                                xcb_drawable_t                                drawable,
1852                                xcb_render_pictformat_t                       format,
1853                                uint32_t                                      value_mask,
1854                                const xcb_render_create_picture_value_list_t *value_list);
1855 
1856 void *
1857 xcb_render_create_picture_value_list (const xcb_render_create_picture_request_t *R);
1858 
1859 int
1860 xcb_render_change_picture_value_list_serialize (void                                         **_buffer,
1861                                                 uint32_t                                       value_mask,
1862                                                 const xcb_render_change_picture_value_list_t  *_aux);
1863 
1864 int
1865 xcb_render_change_picture_value_list_unpack (const void                              *_buffer,
1866                                              uint32_t                                 value_mask,
1867                                              xcb_render_change_picture_value_list_t  *_aux);
1868 
1869 int
1870 xcb_render_change_picture_value_list_sizeof (const void  *_buffer,
1871                                              uint32_t     value_mask);
1872 
1873 int
1874 xcb_render_change_picture_sizeof (const void  *_buffer);
1875 
1876 /**
1877  *
1878  * @param c The connection
1879  * @return A cookie
1880  *
1881  * Delivers a request to the X server.
1882  *
1883  * This form can be used only if the request will not cause
1884  * a reply to be generated. Any returned error will be
1885  * saved for handling by xcb_request_check().
1886  */
1887 xcb_void_cookie_t
1888 xcb_render_change_picture_checked (xcb_connection_t     *c,
1889                                    xcb_render_picture_t  picture,
1890                                    uint32_t              value_mask,
1891                                    const void           *value_list);
1892 
1893 /**
1894  *
1895  * @param c The connection
1896  * @return A cookie
1897  *
1898  * Delivers a request to the X server.
1899  *
1900  */
1901 xcb_void_cookie_t
1902 xcb_render_change_picture (xcb_connection_t     *c,
1903                            xcb_render_picture_t  picture,
1904                            uint32_t              value_mask,
1905                            const void           *value_list);
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_change_picture_aux_checked (xcb_connection_t                             *c,
1920                                        xcb_render_picture_t                          picture,
1921                                        uint32_t                                      value_mask,
1922                                        const xcb_render_change_picture_value_list_t *value_list);
1923 
1924 /**
1925  *
1926  * @param c The connection
1927  * @return A cookie
1928  *
1929  * Delivers a request to the X server.
1930  *
1931  */
1932 xcb_void_cookie_t
1933 xcb_render_change_picture_aux (xcb_connection_t                             *c,
1934                                xcb_render_picture_t                          picture,
1935                                uint32_t                                      value_mask,
1936                                const xcb_render_change_picture_value_list_t *value_list);
1937 
1938 void *
1939 xcb_render_change_picture_value_list (const xcb_render_change_picture_request_t *R);
1940 
1941 int
1942 xcb_render_set_picture_clip_rectangles_sizeof (const void  *_buffer,
1943                                                uint32_t     rectangles_len);
1944 
1945 /**
1946  *
1947  * @param c The connection
1948  * @return A cookie
1949  *
1950  * Delivers a request to the X server.
1951  *
1952  * This form can be used only if the request will not cause
1953  * a reply to be generated. Any returned error will be
1954  * saved for handling by xcb_request_check().
1955  */
1956 xcb_void_cookie_t
1957 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t      *c,
1958                                                 xcb_render_picture_t   picture,
1959                                                 int16_t                clip_x_origin,
1960                                                 int16_t                clip_y_origin,
1961                                                 uint32_t               rectangles_len,
1962                                                 const xcb_rectangle_t *rectangles);
1963 
1964 /**
1965  *
1966  * @param c The connection
1967  * @return A cookie
1968  *
1969  * Delivers a request to the X server.
1970  *
1971  */
1972 xcb_void_cookie_t
1973 xcb_render_set_picture_clip_rectangles (xcb_connection_t      *c,
1974                                         xcb_render_picture_t   picture,
1975                                         int16_t                clip_x_origin,
1976                                         int16_t                clip_y_origin,
1977                                         uint32_t               rectangles_len,
1978                                         const xcb_rectangle_t *rectangles);
1979 
1980 xcb_rectangle_t *
1981 xcb_render_set_picture_clip_rectangles_rectangles (const xcb_render_set_picture_clip_rectangles_request_t *R);
1982 
1983 int
1984 xcb_render_set_picture_clip_rectangles_rectangles_length (const xcb_render_set_picture_clip_rectangles_request_t *R);
1985 
1986 xcb_rectangle_iterator_t
1987 xcb_render_set_picture_clip_rectangles_rectangles_iterator (const xcb_render_set_picture_clip_rectangles_request_t *R);
1988 
1989 /**
1990  *
1991  * @param c The connection
1992  * @return A cookie
1993  *
1994  * Delivers a request to the X server.
1995  *
1996  * This form can be used only if the request will not cause
1997  * a reply to be generated. Any returned error will be
1998  * saved for handling by xcb_request_check().
1999  */
2000 xcb_void_cookie_t
2001 xcb_render_free_picture_checked (xcb_connection_t     *c,
2002                                  xcb_render_picture_t  picture);
2003 
2004 /**
2005  *
2006  * @param c The connection
2007  * @return A cookie
2008  *
2009  * Delivers a request to the X server.
2010  *
2011  */
2012 xcb_void_cookie_t
2013 xcb_render_free_picture (xcb_connection_t     *c,
2014                          xcb_render_picture_t  picture);
2015 
2016 /**
2017  *
2018  * @param c The connection
2019  * @return A cookie
2020  *
2021  * Delivers a request to the X server.
2022  *
2023  * This form can be used only if the request will not cause
2024  * a reply to be generated. Any returned error will be
2025  * saved for handling by xcb_request_check().
2026  */
2027 xcb_void_cookie_t
2028 xcb_render_composite_checked (xcb_connection_t     *c,
2029                               uint8_t               op,
2030                               xcb_render_picture_t  src,
2031                               xcb_render_picture_t  mask,
2032                               xcb_render_picture_t  dst,
2033                               int16_t               src_x,
2034                               int16_t               src_y,
2035                               int16_t               mask_x,
2036                               int16_t               mask_y,
2037                               int16_t               dst_x,
2038                               int16_t               dst_y,
2039                               uint16_t              width,
2040                               uint16_t              height);
2041 
2042 /**
2043  *
2044  * @param c The connection
2045  * @return A cookie
2046  *
2047  * Delivers a request to the X server.
2048  *
2049  */
2050 xcb_void_cookie_t
2051 xcb_render_composite (xcb_connection_t     *c,
2052                       uint8_t               op,
2053                       xcb_render_picture_t  src,
2054                       xcb_render_picture_t  mask,
2055                       xcb_render_picture_t  dst,
2056                       int16_t               src_x,
2057                       int16_t               src_y,
2058                       int16_t               mask_x,
2059                       int16_t               mask_y,
2060                       int16_t               dst_x,
2061                       int16_t               dst_y,
2062                       uint16_t              width,
2063                       uint16_t              height);
2064 
2065 int
2066 xcb_render_trapezoids_sizeof (const void  *_buffer,
2067                               uint32_t     traps_len);
2068 
2069 /**
2070  *
2071  * @param c The connection
2072  * @return A cookie
2073  *
2074  * Delivers a request to the X server.
2075  *
2076  * This form can be used only if the request will not cause
2077  * a reply to be generated. Any returned error will be
2078  * saved for handling by xcb_request_check().
2079  */
2080 xcb_void_cookie_t
2081 xcb_render_trapezoids_checked (xcb_connection_t             *c,
2082                                uint8_t                       op,
2083                                xcb_render_picture_t          src,
2084                                xcb_render_picture_t          dst,
2085                                xcb_render_pictformat_t       mask_format,
2086                                int16_t                       src_x,
2087                                int16_t                       src_y,
2088                                uint32_t                      traps_len,
2089                                const xcb_render_trapezoid_t *traps);
2090 
2091 /**
2092  *
2093  * @param c The connection
2094  * @return A cookie
2095  *
2096  * Delivers a request to the X server.
2097  *
2098  */
2099 xcb_void_cookie_t
2100 xcb_render_trapezoids (xcb_connection_t             *c,
2101                        uint8_t                       op,
2102                        xcb_render_picture_t          src,
2103                        xcb_render_picture_t          dst,
2104                        xcb_render_pictformat_t       mask_format,
2105                        int16_t                       src_x,
2106                        int16_t                       src_y,
2107                        uint32_t                      traps_len,
2108                        const xcb_render_trapezoid_t *traps);
2109 
2110 xcb_render_trapezoid_t *
2111 xcb_render_trapezoids_traps (const xcb_render_trapezoids_request_t *R);
2112 
2113 int
2114 xcb_render_trapezoids_traps_length (const xcb_render_trapezoids_request_t *R);
2115 
2116 xcb_render_trapezoid_iterator_t
2117 xcb_render_trapezoids_traps_iterator (const xcb_render_trapezoids_request_t *R);
2118 
2119 int
2120 xcb_render_triangles_sizeof (const void  *_buffer,
2121                              uint32_t     triangles_len);
2122 
2123 /**
2124  *
2125  * @param c The connection
2126  * @return A cookie
2127  *
2128  * Delivers a request to the X server.
2129  *
2130  * This form can be used only if the request will not cause
2131  * a reply to be generated. Any returned error will be
2132  * saved for handling by xcb_request_check().
2133  */
2134 xcb_void_cookie_t
2135 xcb_render_triangles_checked (xcb_connection_t            *c,
2136                               uint8_t                      op,
2137                               xcb_render_picture_t         src,
2138                               xcb_render_picture_t         dst,
2139                               xcb_render_pictformat_t      mask_format,
2140                               int16_t                      src_x,
2141                               int16_t                      src_y,
2142                               uint32_t                     triangles_len,
2143                               const xcb_render_triangle_t *triangles);
2144 
2145 /**
2146  *
2147  * @param c The connection
2148  * @return A cookie
2149  *
2150  * Delivers a request to the X server.
2151  *
2152  */
2153 xcb_void_cookie_t
2154 xcb_render_triangles (xcb_connection_t            *c,
2155                       uint8_t                      op,
2156                       xcb_render_picture_t         src,
2157                       xcb_render_picture_t         dst,
2158                       xcb_render_pictformat_t      mask_format,
2159                       int16_t                      src_x,
2160                       int16_t                      src_y,
2161                       uint32_t                     triangles_len,
2162                       const xcb_render_triangle_t *triangles);
2163 
2164 xcb_render_triangle_t *
2165 xcb_render_triangles_triangles (const xcb_render_triangles_request_t *R);
2166 
2167 int
2168 xcb_render_triangles_triangles_length (const xcb_render_triangles_request_t *R);
2169 
2170 xcb_render_triangle_iterator_t
2171 xcb_render_triangles_triangles_iterator (const xcb_render_triangles_request_t *R);
2172 
2173 int
2174 xcb_render_tri_strip_sizeof (const void  *_buffer,
2175                              uint32_t     points_len);
2176 
2177 /**
2178  *
2179  * @param c The connection
2180  * @return A cookie
2181  *
2182  * Delivers a request to the X server.
2183  *
2184  * This form can be used only if the request will not cause
2185  * a reply to be generated. Any returned error will be
2186  * saved for handling by xcb_request_check().
2187  */
2188 xcb_void_cookie_t
2189 xcb_render_tri_strip_checked (xcb_connection_t            *c,
2190                               uint8_t                      op,
2191                               xcb_render_picture_t         src,
2192                               xcb_render_picture_t         dst,
2193                               xcb_render_pictformat_t      mask_format,
2194                               int16_t                      src_x,
2195                               int16_t                      src_y,
2196                               uint32_t                     points_len,
2197                               const xcb_render_pointfix_t *points);
2198 
2199 /**
2200  *
2201  * @param c The connection
2202  * @return A cookie
2203  *
2204  * Delivers a request to the X server.
2205  *
2206  */
2207 xcb_void_cookie_t
2208 xcb_render_tri_strip (xcb_connection_t            *c,
2209                       uint8_t                      op,
2210                       xcb_render_picture_t         src,
2211                       xcb_render_picture_t         dst,
2212                       xcb_render_pictformat_t      mask_format,
2213                       int16_t                      src_x,
2214                       int16_t                      src_y,
2215                       uint32_t                     points_len,
2216                       const xcb_render_pointfix_t *points);
2217 
2218 xcb_render_pointfix_t *
2219 xcb_render_tri_strip_points (const xcb_render_tri_strip_request_t *R);
2220 
2221 int
2222 xcb_render_tri_strip_points_length (const xcb_render_tri_strip_request_t *R);
2223 
2224 xcb_render_pointfix_iterator_t
2225 xcb_render_tri_strip_points_iterator (const xcb_render_tri_strip_request_t *R);
2226 
2227 int
2228 xcb_render_tri_fan_sizeof (const void  *_buffer,
2229                            uint32_t     points_len);
2230 
2231 /**
2232  *
2233  * @param c The connection
2234  * @return A cookie
2235  *
2236  * Delivers a request to the X server.
2237  *
2238  * This form can be used only if the request will not cause
2239  * a reply to be generated. Any returned error will be
2240  * saved for handling by xcb_request_check().
2241  */
2242 xcb_void_cookie_t
2243 xcb_render_tri_fan_checked (xcb_connection_t            *c,
2244                             uint8_t                      op,
2245                             xcb_render_picture_t         src,
2246                             xcb_render_picture_t         dst,
2247                             xcb_render_pictformat_t      mask_format,
2248                             int16_t                      src_x,
2249                             int16_t                      src_y,
2250                             uint32_t                     points_len,
2251                             const xcb_render_pointfix_t *points);
2252 
2253 /**
2254  *
2255  * @param c The connection
2256  * @return A cookie
2257  *
2258  * Delivers a request to the X server.
2259  *
2260  */
2261 xcb_void_cookie_t
2262 xcb_render_tri_fan (xcb_connection_t            *c,
2263                     uint8_t                      op,
2264                     xcb_render_picture_t         src,
2265                     xcb_render_picture_t         dst,
2266                     xcb_render_pictformat_t      mask_format,
2267                     int16_t                      src_x,
2268                     int16_t                      src_y,
2269                     uint32_t                     points_len,
2270                     const xcb_render_pointfix_t *points);
2271 
2272 xcb_render_pointfix_t *
2273 xcb_render_tri_fan_points (const xcb_render_tri_fan_request_t *R);
2274 
2275 int
2276 xcb_render_tri_fan_points_length (const xcb_render_tri_fan_request_t *R);
2277 
2278 xcb_render_pointfix_iterator_t
2279 xcb_render_tri_fan_points_iterator (const xcb_render_tri_fan_request_t *R);
2280 
2281 /**
2282  *
2283  * @param c The connection
2284  * @return A cookie
2285  *
2286  * Delivers a request to the X server.
2287  *
2288  * This form can be used only if the request will not cause
2289  * a reply to be generated. Any returned error will be
2290  * saved for handling by xcb_request_check().
2291  */
2292 xcb_void_cookie_t
2293 xcb_render_create_glyph_set_checked (xcb_connection_t        *c,
2294                                      xcb_render_glyphset_t    gsid,
2295                                      xcb_render_pictformat_t  format);
2296 
2297 /**
2298  *
2299  * @param c The connection
2300  * @return A cookie
2301  *
2302  * Delivers a request to the X server.
2303  *
2304  */
2305 xcb_void_cookie_t
2306 xcb_render_create_glyph_set (xcb_connection_t        *c,
2307                              xcb_render_glyphset_t    gsid,
2308                              xcb_render_pictformat_t  format);
2309 
2310 /**
2311  *
2312  * @param c The connection
2313  * @return A cookie
2314  *
2315  * Delivers a request to the X server.
2316  *
2317  * This form can be used only if the request will not cause
2318  * a reply to be generated. Any returned error will be
2319  * saved for handling by xcb_request_check().
2320  */
2321 xcb_void_cookie_t
2322 xcb_render_reference_glyph_set_checked (xcb_connection_t      *c,
2323                                         xcb_render_glyphset_t  gsid,
2324                                         xcb_render_glyphset_t  existing);
2325 
2326 /**
2327  *
2328  * @param c The connection
2329  * @return A cookie
2330  *
2331  * Delivers a request to the X server.
2332  *
2333  */
2334 xcb_void_cookie_t
2335 xcb_render_reference_glyph_set (xcb_connection_t      *c,
2336                                 xcb_render_glyphset_t  gsid,
2337                                 xcb_render_glyphset_t  existing);
2338 
2339 /**
2340  *
2341  * @param c The connection
2342  * @return A cookie
2343  *
2344  * Delivers a request to the X server.
2345  *
2346  * This form can be used only if the request will not cause
2347  * a reply to be generated. Any returned error will be
2348  * saved for handling by xcb_request_check().
2349  */
2350 xcb_void_cookie_t
2351 xcb_render_free_glyph_set_checked (xcb_connection_t      *c,
2352                                    xcb_render_glyphset_t  glyphset);
2353 
2354 /**
2355  *
2356  * @param c The connection
2357  * @return A cookie
2358  *
2359  * Delivers a request to the X server.
2360  *
2361  */
2362 xcb_void_cookie_t
2363 xcb_render_free_glyph_set (xcb_connection_t      *c,
2364                            xcb_render_glyphset_t  glyphset);
2365 
2366 int
2367 xcb_render_add_glyphs_sizeof (const void  *_buffer,
2368                               uint32_t     data_len);
2369 
2370 /**
2371  *
2372  * @param c The connection
2373  * @return A cookie
2374  *
2375  * Delivers a request to the X server.
2376  *
2377  * This form can be used only if the request will not cause
2378  * a reply to be generated. Any returned error will be
2379  * saved for handling by xcb_request_check().
2380  */
2381 xcb_void_cookie_t
2382 xcb_render_add_glyphs_checked (xcb_connection_t             *c,
2383                                xcb_render_glyphset_t         glyphset,
2384                                uint32_t                      glyphs_len,
2385                                const uint32_t               *glyphids,
2386                                const xcb_render_glyphinfo_t *glyphs,
2387                                uint32_t                      data_len,
2388                                const uint8_t                *data);
2389 
2390 /**
2391  *
2392  * @param c The connection
2393  * @return A cookie
2394  *
2395  * Delivers a request to the X server.
2396  *
2397  */
2398 xcb_void_cookie_t
2399 xcb_render_add_glyphs (xcb_connection_t             *c,
2400                        xcb_render_glyphset_t         glyphset,
2401                        uint32_t                      glyphs_len,
2402                        const uint32_t               *glyphids,
2403                        const xcb_render_glyphinfo_t *glyphs,
2404                        uint32_t                      data_len,
2405                        const uint8_t                *data);
2406 
2407 uint32_t *
2408 xcb_render_add_glyphs_glyphids (const xcb_render_add_glyphs_request_t *R);
2409 
2410 int
2411 xcb_render_add_glyphs_glyphids_length (const xcb_render_add_glyphs_request_t *R);
2412 
2413 xcb_generic_iterator_t
2414 xcb_render_add_glyphs_glyphids_end (const xcb_render_add_glyphs_request_t *R);
2415 
2416 xcb_render_glyphinfo_t *
2417 xcb_render_add_glyphs_glyphs (const xcb_render_add_glyphs_request_t *R);
2418 
2419 int
2420 xcb_render_add_glyphs_glyphs_length (const xcb_render_add_glyphs_request_t *R);
2421 
2422 xcb_render_glyphinfo_iterator_t
2423 xcb_render_add_glyphs_glyphs_iterator (const xcb_render_add_glyphs_request_t *R);
2424 
2425 uint8_t *
2426 xcb_render_add_glyphs_data (const xcb_render_add_glyphs_request_t *R);
2427 
2428 int
2429 xcb_render_add_glyphs_data_length (const xcb_render_add_glyphs_request_t *R);
2430 
2431 xcb_generic_iterator_t
2432 xcb_render_add_glyphs_data_end (const xcb_render_add_glyphs_request_t *R);
2433 
2434 int
2435 xcb_render_free_glyphs_sizeof (const void  *_buffer,
2436                                uint32_t     glyphs_len);
2437 
2438 /**
2439  *
2440  * @param c The connection
2441  * @return A cookie
2442  *
2443  * Delivers a request to the X server.
2444  *
2445  * This form can be used only if the request will not cause
2446  * a reply to be generated. Any returned error will be
2447  * saved for handling by xcb_request_check().
2448  */
2449 xcb_void_cookie_t
2450 xcb_render_free_glyphs_checked (xcb_connection_t         *c,
2451                                 xcb_render_glyphset_t     glyphset,
2452                                 uint32_t                  glyphs_len,
2453                                 const xcb_render_glyph_t *glyphs);
2454 
2455 /**
2456  *
2457  * @param c The connection
2458  * @return A cookie
2459  *
2460  * Delivers a request to the X server.
2461  *
2462  */
2463 xcb_void_cookie_t
2464 xcb_render_free_glyphs (xcb_connection_t         *c,
2465                         xcb_render_glyphset_t     glyphset,
2466                         uint32_t                  glyphs_len,
2467                         const xcb_render_glyph_t *glyphs);
2468 
2469 xcb_render_glyph_t *
2470 xcb_render_free_glyphs_glyphs (const xcb_render_free_glyphs_request_t *R);
2471 
2472 int
2473 xcb_render_free_glyphs_glyphs_length (const xcb_render_free_glyphs_request_t *R);
2474 
2475 xcb_generic_iterator_t
2476 xcb_render_free_glyphs_glyphs_end (const xcb_render_free_glyphs_request_t *R);
2477 
2478 int
2479 xcb_render_composite_glyphs_8_sizeof (const void  *_buffer,
2480                                       uint32_t     glyphcmds_len);
2481 
2482 /**
2483  *
2484  * @param c The connection
2485  * @return A cookie
2486  *
2487  * Delivers a request to the X server.
2488  *
2489  * This form can be used only if the request will not cause
2490  * a reply to be generated. Any returned error will be
2491  * saved for handling by xcb_request_check().
2492  */
2493 xcb_void_cookie_t
2494 xcb_render_composite_glyphs_8_checked (xcb_connection_t        *c,
2495                                        uint8_t                  op,
2496                                        xcb_render_picture_t     src,
2497                                        xcb_render_picture_t     dst,
2498                                        xcb_render_pictformat_t  mask_format,
2499                                        xcb_render_glyphset_t    glyphset,
2500                                        int16_t                  src_x,
2501                                        int16_t                  src_y,
2502                                        uint32_t                 glyphcmds_len,
2503                                        const uint8_t           *glyphcmds);
2504 
2505 /**
2506  *
2507  * @param c The connection
2508  * @return A cookie
2509  *
2510  * Delivers a request to the X server.
2511  *
2512  */
2513 xcb_void_cookie_t
2514 xcb_render_composite_glyphs_8 (xcb_connection_t        *c,
2515                                uint8_t                  op,
2516                                xcb_render_picture_t     src,
2517                                xcb_render_picture_t     dst,
2518                                xcb_render_pictformat_t  mask_format,
2519                                xcb_render_glyphset_t    glyphset,
2520                                int16_t                  src_x,
2521                                int16_t                  src_y,
2522                                uint32_t                 glyphcmds_len,
2523                                const uint8_t           *glyphcmds);
2524 
2525 uint8_t *
2526 xcb_render_composite_glyphs_8_glyphcmds (const xcb_render_composite_glyphs_8_request_t *R);
2527 
2528 int
2529 xcb_render_composite_glyphs_8_glyphcmds_length (const xcb_render_composite_glyphs_8_request_t *R);
2530 
2531 xcb_generic_iterator_t
2532 xcb_render_composite_glyphs_8_glyphcmds_end (const xcb_render_composite_glyphs_8_request_t *R);
2533 
2534 int
2535 xcb_render_composite_glyphs_16_sizeof (const void  *_buffer,
2536                                        uint32_t     glyphcmds_len);
2537 
2538 /**
2539  *
2540  * @param c The connection
2541  * @return A cookie
2542  *
2543  * Delivers a request to the X server.
2544  *
2545  * This form can be used only if the request will not cause
2546  * a reply to be generated. Any returned error will be
2547  * saved for handling by xcb_request_check().
2548  */
2549 xcb_void_cookie_t
2550 xcb_render_composite_glyphs_16_checked (xcb_connection_t        *c,
2551                                         uint8_t                  op,
2552                                         xcb_render_picture_t     src,
2553                                         xcb_render_picture_t     dst,
2554                                         xcb_render_pictformat_t  mask_format,
2555                                         xcb_render_glyphset_t    glyphset,
2556                                         int16_t                  src_x,
2557                                         int16_t                  src_y,
2558                                         uint32_t                 glyphcmds_len,
2559                                         const uint8_t           *glyphcmds);
2560 
2561 /**
2562  *
2563  * @param c The connection
2564  * @return A cookie
2565  *
2566  * Delivers a request to the X server.
2567  *
2568  */
2569 xcb_void_cookie_t
2570 xcb_render_composite_glyphs_16 (xcb_connection_t        *c,
2571                                 uint8_t                  op,
2572                                 xcb_render_picture_t     src,
2573                                 xcb_render_picture_t     dst,
2574                                 xcb_render_pictformat_t  mask_format,
2575                                 xcb_render_glyphset_t    glyphset,
2576                                 int16_t                  src_x,
2577                                 int16_t                  src_y,
2578                                 uint32_t                 glyphcmds_len,
2579                                 const uint8_t           *glyphcmds);
2580 
2581 uint8_t *
2582 xcb_render_composite_glyphs_16_glyphcmds (const xcb_render_composite_glyphs_16_request_t *R);
2583 
2584 int
2585 xcb_render_composite_glyphs_16_glyphcmds_length (const xcb_render_composite_glyphs_16_request_t *R);
2586 
2587 xcb_generic_iterator_t
2588 xcb_render_composite_glyphs_16_glyphcmds_end (const xcb_render_composite_glyphs_16_request_t *R);
2589 
2590 int
2591 xcb_render_composite_glyphs_32_sizeof (const void  *_buffer,
2592                                        uint32_t     glyphcmds_len);
2593 
2594 /**
2595  *
2596  * @param c The connection
2597  * @return A cookie
2598  *
2599  * Delivers a request to the X server.
2600  *
2601  * This form can be used only if the request will not cause
2602  * a reply to be generated. Any returned error will be
2603  * saved for handling by xcb_request_check().
2604  */
2605 xcb_void_cookie_t
2606 xcb_render_composite_glyphs_32_checked (xcb_connection_t        *c,
2607                                         uint8_t                  op,
2608                                         xcb_render_picture_t     src,
2609                                         xcb_render_picture_t     dst,
2610                                         xcb_render_pictformat_t  mask_format,
2611                                         xcb_render_glyphset_t    glyphset,
2612                                         int16_t                  src_x,
2613                                         int16_t                  src_y,
2614                                         uint32_t                 glyphcmds_len,
2615                                         const uint8_t           *glyphcmds);
2616 
2617 /**
2618  *
2619  * @param c The connection
2620  * @return A cookie
2621  *
2622  * Delivers a request to the X server.
2623  *
2624  */
2625 xcb_void_cookie_t
2626 xcb_render_composite_glyphs_32 (xcb_connection_t        *c,
2627                                 uint8_t                  op,
2628                                 xcb_render_picture_t     src,
2629                                 xcb_render_picture_t     dst,
2630                                 xcb_render_pictformat_t  mask_format,
2631                                 xcb_render_glyphset_t    glyphset,
2632                                 int16_t                  src_x,
2633                                 int16_t                  src_y,
2634                                 uint32_t                 glyphcmds_len,
2635                                 const uint8_t           *glyphcmds);
2636 
2637 uint8_t *
2638 xcb_render_composite_glyphs_32_glyphcmds (const xcb_render_composite_glyphs_32_request_t *R);
2639 
2640 int
2641 xcb_render_composite_glyphs_32_glyphcmds_length (const xcb_render_composite_glyphs_32_request_t *R);
2642 
2643 xcb_generic_iterator_t
2644 xcb_render_composite_glyphs_32_glyphcmds_end (const xcb_render_composite_glyphs_32_request_t *R);
2645 
2646 int
2647 xcb_render_fill_rectangles_sizeof (const void  *_buffer,
2648                                    uint32_t     rects_len);
2649 
2650 /**
2651  *
2652  * @param c The connection
2653  * @return A cookie
2654  *
2655  * Delivers a request to the X server.
2656  *
2657  * This form can be used only if the request will not cause
2658  * a reply to be generated. Any returned error will be
2659  * saved for handling by xcb_request_check().
2660  */
2661 xcb_void_cookie_t
2662 xcb_render_fill_rectangles_checked (xcb_connection_t      *c,
2663                                     uint8_t                op,
2664                                     xcb_render_picture_t   dst,
2665                                     xcb_render_color_t     color,
2666                                     uint32_t               rects_len,
2667                                     const xcb_rectangle_t *rects);
2668 
2669 /**
2670  *
2671  * @param c The connection
2672  * @return A cookie
2673  *
2674  * Delivers a request to the X server.
2675  *
2676  */
2677 xcb_void_cookie_t
2678 xcb_render_fill_rectangles (xcb_connection_t      *c,
2679                             uint8_t                op,
2680                             xcb_render_picture_t   dst,
2681                             xcb_render_color_t     color,
2682                             uint32_t               rects_len,
2683                             const xcb_rectangle_t *rects);
2684 
2685 xcb_rectangle_t *
2686 xcb_render_fill_rectangles_rects (const xcb_render_fill_rectangles_request_t *R);
2687 
2688 int
2689 xcb_render_fill_rectangles_rects_length (const xcb_render_fill_rectangles_request_t *R);
2690 
2691 xcb_rectangle_iterator_t
2692 xcb_render_fill_rectangles_rects_iterator (const xcb_render_fill_rectangles_request_t *R);
2693 
2694 /**
2695  *
2696  * @param c The connection
2697  * @return A cookie
2698  *
2699  * Delivers a request to the X server.
2700  *
2701  * This form can be used only if the request will not cause
2702  * a reply to be generated. Any returned error will be
2703  * saved for handling by xcb_request_check().
2704  */
2705 xcb_void_cookie_t
2706 xcb_render_create_cursor_checked (xcb_connection_t     *c,
2707                                   xcb_cursor_t          cid,
2708                                   xcb_render_picture_t  source,
2709                                   uint16_t              x,
2710                                   uint16_t              y);
2711 
2712 /**
2713  *
2714  * @param c The connection
2715  * @return A cookie
2716  *
2717  * Delivers a request to the X server.
2718  *
2719  */
2720 xcb_void_cookie_t
2721 xcb_render_create_cursor (xcb_connection_t     *c,
2722                           xcb_cursor_t          cid,
2723                           xcb_render_picture_t  source,
2724                           uint16_t              x,
2725                           uint16_t              y);
2726 
2727 /**
2728  * Get the next element of the iterator
2729  * @param i Pointer to a xcb_render_transform_iterator_t
2730  *
2731  * Get the next element in the iterator. The member rem is
2732  * decreased by one. The member data points to the next
2733  * element. The member index is increased by sizeof(xcb_render_transform_t)
2734  */
2735 void
2736 xcb_render_transform_next (xcb_render_transform_iterator_t *i);
2737 
2738 /**
2739  * Return the iterator pointing to the last element
2740  * @param i An xcb_render_transform_iterator_t
2741  * @return  The iterator pointing to the last element
2742  *
2743  * Set the current element in the iterator to the last element.
2744  * The member rem is set to 0. The member data points to the
2745  * last element.
2746  */
2747 xcb_generic_iterator_t
2748 xcb_render_transform_end (xcb_render_transform_iterator_t i);
2749 
2750 /**
2751  *
2752  * @param c The connection
2753  * @return A cookie
2754  *
2755  * Delivers a request to the X server.
2756  *
2757  * This form can be used only if the request will not cause
2758  * a reply to be generated. Any returned error will be
2759  * saved for handling by xcb_request_check().
2760  */
2761 xcb_void_cookie_t
2762 xcb_render_set_picture_transform_checked (xcb_connection_t       *c,
2763                                           xcb_render_picture_t    picture,
2764                                           xcb_render_transform_t  transform);
2765 
2766 /**
2767  *
2768  * @param c The connection
2769  * @return A cookie
2770  *
2771  * Delivers a request to the X server.
2772  *
2773  */
2774 xcb_void_cookie_t
2775 xcb_render_set_picture_transform (xcb_connection_t       *c,
2776                                   xcb_render_picture_t    picture,
2777                                   xcb_render_transform_t  transform);
2778 
2779 int
2780 xcb_render_query_filters_sizeof (const void  *_buffer);
2781 
2782 /**
2783  *
2784  * @param c The connection
2785  * @return A cookie
2786  *
2787  * Delivers a request to the X server.
2788  *
2789  */
2790 xcb_render_query_filters_cookie_t
2791 xcb_render_query_filters (xcb_connection_t *c,
2792                           xcb_drawable_t    drawable);
2793 
2794 /**
2795  *
2796  * @param c The connection
2797  * @return A cookie
2798  *
2799  * Delivers a request to the X server.
2800  *
2801  * This form can be used only if the request will cause
2802  * a reply to be generated. Any returned error will be
2803  * placed in the event queue.
2804  */
2805 xcb_render_query_filters_cookie_t
2806 xcb_render_query_filters_unchecked (xcb_connection_t *c,
2807                                     xcb_drawable_t    drawable);
2808 
2809 uint16_t *
2810 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R);
2811 
2812 int
2813 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R);
2814 
2815 xcb_generic_iterator_t
2816 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R);
2817 
2818 int
2819 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R);
2820 
2821 xcb_str_iterator_t
2822 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R);
2823 
2824 /**
2825  * Return the reply
2826  * @param c      The connection
2827  * @param cookie The cookie
2828  * @param e      The xcb_generic_error_t supplied
2829  *
2830  * Returns the reply of the request asked by
2831  *
2832  * The parameter @p e supplied to this function must be NULL if
2833  * xcb_render_query_filters_unchecked(). is used.
2834  * Otherwise, it stores the error if any.
2835  *
2836  * The returned value must be freed by the caller using free().
2837  */
2838 xcb_render_query_filters_reply_t *
2839 xcb_render_query_filters_reply (xcb_connection_t                   *c,
2840                                 xcb_render_query_filters_cookie_t   cookie  /**< */,
2841                                 xcb_generic_error_t               **e);
2842 
2843 int
2844 xcb_render_set_picture_filter_sizeof (const void  *_buffer,
2845                                       uint32_t     values_len);
2846 
2847 /**
2848  *
2849  * @param c The connection
2850  * @return A cookie
2851  *
2852  * Delivers a request to the X server.
2853  *
2854  * This form can be used only if the request will not cause
2855  * a reply to be generated. Any returned error will be
2856  * saved for handling by xcb_request_check().
2857  */
2858 xcb_void_cookie_t
2859 xcb_render_set_picture_filter_checked (xcb_connection_t         *c,
2860                                        xcb_render_picture_t      picture,
2861                                        uint16_t                  filter_len,
2862                                        const char               *filter,
2863                                        uint32_t                  values_len,
2864                                        const xcb_render_fixed_t *values);
2865 
2866 /**
2867  *
2868  * @param c The connection
2869  * @return A cookie
2870  *
2871  * Delivers a request to the X server.
2872  *
2873  */
2874 xcb_void_cookie_t
2875 xcb_render_set_picture_filter (xcb_connection_t         *c,
2876                                xcb_render_picture_t      picture,
2877                                uint16_t                  filter_len,
2878                                const char               *filter,
2879                                uint32_t                  values_len,
2880                                const xcb_render_fixed_t *values);
2881 
2882 char *
2883 xcb_render_set_picture_filter_filter (const xcb_render_set_picture_filter_request_t *R);
2884 
2885 int
2886 xcb_render_set_picture_filter_filter_length (const xcb_render_set_picture_filter_request_t *R);
2887 
2888 xcb_generic_iterator_t
2889 xcb_render_set_picture_filter_filter_end (const xcb_render_set_picture_filter_request_t *R);
2890 
2891 xcb_render_fixed_t *
2892 xcb_render_set_picture_filter_values (const xcb_render_set_picture_filter_request_t *R);
2893 
2894 int
2895 xcb_render_set_picture_filter_values_length (const xcb_render_set_picture_filter_request_t *R);
2896 
2897 xcb_generic_iterator_t
2898 xcb_render_set_picture_filter_values_end (const xcb_render_set_picture_filter_request_t *R);
2899 
2900 /**
2901  * Get the next element of the iterator
2902  * @param i Pointer to a xcb_render_animcursorelt_iterator_t
2903  *
2904  * Get the next element in the iterator. The member rem is
2905  * decreased by one. The member data points to the next
2906  * element. The member index is increased by sizeof(xcb_render_animcursorelt_t)
2907  */
2908 void
2909 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i);
2910 
2911 /**
2912  * Return the iterator pointing to the last element
2913  * @param i An xcb_render_animcursorelt_iterator_t
2914  * @return  The iterator pointing to the last element
2915  *
2916  * Set the current element in the iterator to the last element.
2917  * The member rem is set to 0. The member data points to the
2918  * last element.
2919  */
2920 xcb_generic_iterator_t
2921 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i);
2922 
2923 int
2924 xcb_render_create_anim_cursor_sizeof (const void  *_buffer,
2925                                       uint32_t     cursors_len);
2926 
2927 /**
2928  *
2929  * @param c The connection
2930  * @return A cookie
2931  *
2932  * Delivers a request to the X server.
2933  *
2934  * This form can be used only if the request will not cause
2935  * a reply to be generated. Any returned error will be
2936  * saved for handling by xcb_request_check().
2937  */
2938 xcb_void_cookie_t
2939 xcb_render_create_anim_cursor_checked (xcb_connection_t                 *c,
2940                                        xcb_cursor_t                      cid,
2941                                        uint32_t                          cursors_len,
2942                                        const xcb_render_animcursorelt_t *cursors);
2943 
2944 /**
2945  *
2946  * @param c The connection
2947  * @return A cookie
2948  *
2949  * Delivers a request to the X server.
2950  *
2951  */
2952 xcb_void_cookie_t
2953 xcb_render_create_anim_cursor (xcb_connection_t                 *c,
2954                                xcb_cursor_t                      cid,
2955                                uint32_t                          cursors_len,
2956                                const xcb_render_animcursorelt_t *cursors);
2957 
2958 xcb_render_animcursorelt_t *
2959 xcb_render_create_anim_cursor_cursors (const xcb_render_create_anim_cursor_request_t *R);
2960 
2961 int
2962 xcb_render_create_anim_cursor_cursors_length (const xcb_render_create_anim_cursor_request_t *R);
2963 
2964 xcb_render_animcursorelt_iterator_t
2965 xcb_render_create_anim_cursor_cursors_iterator (const xcb_render_create_anim_cursor_request_t *R);
2966 
2967 /**
2968  * Get the next element of the iterator
2969  * @param i Pointer to a xcb_render_spanfix_iterator_t
2970  *
2971  * Get the next element in the iterator. The member rem is
2972  * decreased by one. The member data points to the next
2973  * element. The member index is increased by sizeof(xcb_render_spanfix_t)
2974  */
2975 void
2976 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i);
2977 
2978 /**
2979  * Return the iterator pointing to the last element
2980  * @param i An xcb_render_spanfix_iterator_t
2981  * @return  The iterator pointing to the last element
2982  *
2983  * Set the current element in the iterator to the last element.
2984  * The member rem is set to 0. The member data points to the
2985  * last element.
2986  */
2987 xcb_generic_iterator_t
2988 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i);
2989 
2990 /**
2991  * Get the next element of the iterator
2992  * @param i Pointer to a xcb_render_trap_iterator_t
2993  *
2994  * Get the next element in the iterator. The member rem is
2995  * decreased by one. The member data points to the next
2996  * element. The member index is increased by sizeof(xcb_render_trap_t)
2997  */
2998 void
2999 xcb_render_trap_next (xcb_render_trap_iterator_t *i);
3000 
3001 /**
3002  * Return the iterator pointing to the last element
3003  * @param i An xcb_render_trap_iterator_t
3004  * @return  The iterator pointing to the last element
3005  *
3006  * Set the current element in the iterator to the last element.
3007  * The member rem is set to 0. The member data points to the
3008  * last element.
3009  */
3010 xcb_generic_iterator_t
3011 xcb_render_trap_end (xcb_render_trap_iterator_t i);
3012 
3013 int
3014 xcb_render_add_traps_sizeof (const void  *_buffer,
3015                              uint32_t     traps_len);
3016 
3017 /**
3018  *
3019  * @param c The connection
3020  * @return A cookie
3021  *
3022  * Delivers a request to the X server.
3023  *
3024  * This form can be used only if the request will not cause
3025  * a reply to be generated. Any returned error will be
3026  * saved for handling by xcb_request_check().
3027  */
3028 xcb_void_cookie_t
3029 xcb_render_add_traps_checked (xcb_connection_t        *c,
3030                               xcb_render_picture_t     picture,
3031                               int16_t                  x_off,
3032                               int16_t                  y_off,
3033                               uint32_t                 traps_len,
3034                               const xcb_render_trap_t *traps);
3035 
3036 /**
3037  *
3038  * @param c The connection
3039  * @return A cookie
3040  *
3041  * Delivers a request to the X server.
3042  *
3043  */
3044 xcb_void_cookie_t
3045 xcb_render_add_traps (xcb_connection_t        *c,
3046                       xcb_render_picture_t     picture,
3047                       int16_t                  x_off,
3048                       int16_t                  y_off,
3049                       uint32_t                 traps_len,
3050                       const xcb_render_trap_t *traps);
3051 
3052 xcb_render_trap_t *
3053 xcb_render_add_traps_traps (const xcb_render_add_traps_request_t *R);
3054 
3055 int
3056 xcb_render_add_traps_traps_length (const xcb_render_add_traps_request_t *R);
3057 
3058 xcb_render_trap_iterator_t
3059 xcb_render_add_traps_traps_iterator (const xcb_render_add_traps_request_t *R);
3060 
3061 /**
3062  *
3063  * @param c The connection
3064  * @return A cookie
3065  *
3066  * Delivers a request to the X server.
3067  *
3068  * This form can be used only if the request will not cause
3069  * a reply to be generated. Any returned error will be
3070  * saved for handling by xcb_request_check().
3071  */
3072 xcb_void_cookie_t
3073 xcb_render_create_solid_fill_checked (xcb_connection_t     *c,
3074                                       xcb_render_picture_t  picture,
3075                                       xcb_render_color_t    color);
3076 
3077 /**
3078  *
3079  * @param c The connection
3080  * @return A cookie
3081  *
3082  * Delivers a request to the X server.
3083  *
3084  */
3085 xcb_void_cookie_t
3086 xcb_render_create_solid_fill (xcb_connection_t     *c,
3087                               xcb_render_picture_t  picture,
3088                               xcb_render_color_t    color);
3089 
3090 int
3091 xcb_render_create_linear_gradient_sizeof (const void  *_buffer);
3092 
3093 /**
3094  *
3095  * @param c The connection
3096  * @return A cookie
3097  *
3098  * Delivers a request to the X server.
3099  *
3100  * This form can be used only if the request will not cause
3101  * a reply to be generated. Any returned error will be
3102  * saved for handling by xcb_request_check().
3103  */
3104 xcb_void_cookie_t
3105 xcb_render_create_linear_gradient_checked (xcb_connection_t         *c,
3106                                            xcb_render_picture_t      picture,
3107                                            xcb_render_pointfix_t     p1,
3108                                            xcb_render_pointfix_t     p2,
3109                                            uint32_t                  num_stops,
3110                                            const xcb_render_fixed_t *stops,
3111                                            const xcb_render_color_t *colors);
3112 
3113 /**
3114  *
3115  * @param c The connection
3116  * @return A cookie
3117  *
3118  * Delivers a request to the X server.
3119  *
3120  */
3121 xcb_void_cookie_t
3122 xcb_render_create_linear_gradient (xcb_connection_t         *c,
3123                                    xcb_render_picture_t      picture,
3124                                    xcb_render_pointfix_t     p1,
3125                                    xcb_render_pointfix_t     p2,
3126                                    uint32_t                  num_stops,
3127                                    const xcb_render_fixed_t *stops,
3128                                    const xcb_render_color_t *colors);
3129 
3130 xcb_render_fixed_t *
3131 xcb_render_create_linear_gradient_stops (const xcb_render_create_linear_gradient_request_t *R);
3132 
3133 int
3134 xcb_render_create_linear_gradient_stops_length (const xcb_render_create_linear_gradient_request_t *R);
3135 
3136 xcb_generic_iterator_t
3137 xcb_render_create_linear_gradient_stops_end (const xcb_render_create_linear_gradient_request_t *R);
3138 
3139 xcb_render_color_t *
3140 xcb_render_create_linear_gradient_colors (const xcb_render_create_linear_gradient_request_t *R);
3141 
3142 int
3143 xcb_render_create_linear_gradient_colors_length (const xcb_render_create_linear_gradient_request_t *R);
3144 
3145 xcb_render_color_iterator_t
3146 xcb_render_create_linear_gradient_colors_iterator (const xcb_render_create_linear_gradient_request_t *R);
3147 
3148 int
3149 xcb_render_create_radial_gradient_sizeof (const void  *_buffer);
3150 
3151 /**
3152  *
3153  * @param c The connection
3154  * @return A cookie
3155  *
3156  * Delivers a request to the X server.
3157  *
3158  * This form can be used only if the request will not cause
3159  * a reply to be generated. Any returned error will be
3160  * saved for handling by xcb_request_check().
3161  */
3162 xcb_void_cookie_t
3163 xcb_render_create_radial_gradient_checked (xcb_connection_t         *c,
3164                                            xcb_render_picture_t      picture,
3165                                            xcb_render_pointfix_t     inner,
3166                                            xcb_render_pointfix_t     outer,
3167                                            xcb_render_fixed_t        inner_radius,
3168                                            xcb_render_fixed_t        outer_radius,
3169                                            uint32_t                  num_stops,
3170                                            const xcb_render_fixed_t *stops,
3171                                            const xcb_render_color_t *colors);
3172 
3173 /**
3174  *
3175  * @param c The connection
3176  * @return A cookie
3177  *
3178  * Delivers a request to the X server.
3179  *
3180  */
3181 xcb_void_cookie_t
3182 xcb_render_create_radial_gradient (xcb_connection_t         *c,
3183                                    xcb_render_picture_t      picture,
3184                                    xcb_render_pointfix_t     inner,
3185                                    xcb_render_pointfix_t     outer,
3186                                    xcb_render_fixed_t        inner_radius,
3187                                    xcb_render_fixed_t        outer_radius,
3188                                    uint32_t                  num_stops,
3189                                    const xcb_render_fixed_t *stops,
3190                                    const xcb_render_color_t *colors);
3191 
3192 xcb_render_fixed_t *
3193 xcb_render_create_radial_gradient_stops (const xcb_render_create_radial_gradient_request_t *R);
3194 
3195 int
3196 xcb_render_create_radial_gradient_stops_length (const xcb_render_create_radial_gradient_request_t *R);
3197 
3198 xcb_generic_iterator_t
3199 xcb_render_create_radial_gradient_stops_end (const xcb_render_create_radial_gradient_request_t *R);
3200 
3201 xcb_render_color_t *
3202 xcb_render_create_radial_gradient_colors (const xcb_render_create_radial_gradient_request_t *R);
3203 
3204 int
3205 xcb_render_create_radial_gradient_colors_length (const xcb_render_create_radial_gradient_request_t *R);
3206 
3207 xcb_render_color_iterator_t
3208 xcb_render_create_radial_gradient_colors_iterator (const xcb_render_create_radial_gradient_request_t *R);
3209 
3210 int
3211 xcb_render_create_conical_gradient_sizeof (const void  *_buffer);
3212 
3213 /**
3214  *
3215  * @param c The connection
3216  * @return A cookie
3217  *
3218  * Delivers a request to the X server.
3219  *
3220  * This form can be used only if the request will not cause
3221  * a reply to be generated. Any returned error will be
3222  * saved for handling by xcb_request_check().
3223  */
3224 xcb_void_cookie_t
3225 xcb_render_create_conical_gradient_checked (xcb_connection_t         *c,
3226                                             xcb_render_picture_t      picture,
3227                                             xcb_render_pointfix_t     center,
3228                                             xcb_render_fixed_t        angle,
3229                                             uint32_t                  num_stops,
3230                                             const xcb_render_fixed_t *stops,
3231                                             const xcb_render_color_t *colors);
3232 
3233 /**
3234  *
3235  * @param c The connection
3236  * @return A cookie
3237  *
3238  * Delivers a request to the X server.
3239  *
3240  */
3241 xcb_void_cookie_t
3242 xcb_render_create_conical_gradient (xcb_connection_t         *c,
3243                                     xcb_render_picture_t      picture,
3244                                     xcb_render_pointfix_t     center,
3245                                     xcb_render_fixed_t        angle,
3246                                     uint32_t                  num_stops,
3247                                     const xcb_render_fixed_t *stops,
3248                                     const xcb_render_color_t *colors);
3249 
3250 xcb_render_fixed_t *
3251 xcb_render_create_conical_gradient_stops (const xcb_render_create_conical_gradient_request_t *R);
3252 
3253 int
3254 xcb_render_create_conical_gradient_stops_length (const xcb_render_create_conical_gradient_request_t *R);
3255 
3256 xcb_generic_iterator_t
3257 xcb_render_create_conical_gradient_stops_end (const xcb_render_create_conical_gradient_request_t *R);
3258 
3259 xcb_render_color_t *
3260 xcb_render_create_conical_gradient_colors (const xcb_render_create_conical_gradient_request_t *R);
3261 
3262 int
3263 xcb_render_create_conical_gradient_colors_length (const xcb_render_create_conical_gradient_request_t *R);
3264 
3265 xcb_render_color_iterator_t
3266 xcb_render_create_conical_gradient_colors_iterator (const xcb_render_create_conical_gradient_request_t *R);
3267 
3268 
3269 #ifdef __cplusplus
3270 }
3271 #endif
3272 
3273 #endif
3274 
3275 /**
3276  * @}
3277  */