1xcb_get_image(3)                 XCB Requests                 xcb_get_image(3)
2
3
4

NAME

6       xcb_get_image -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_get_image_cookie_t xcb_get_image(xcb_connection_t *conn,
13              uint8_t format, xcb_drawable_t drawable, int16_t x, int16_t y,
14              uint16_t width, uint16_t height, uint32_t plane_mask);
15
16   Reply datastructure
17       typedef struct xcb_get_image_reply_t {
18           uint8_t        response_type;
19           uint8_t        depth;
20           uint16_t       sequence;
21           uint32_t       length;
22           xcb_visualid_t visual;
23           uint8_t        pad0[20];
24       } xcb_get_image_reply_t;
25
26   Reply function
27       xcb_get_image_reply_t *xcb_get_image_reply(xcb_connection_t *conn,
28              xcb_get_image_cookie_t cookie, xcb_generic_error_t **e);
29
30   Reply accessors
31       uint8_t *xcb_get_image_data(const xcb_get_image_request_t *reply);
32
33       int xcb_get_image_data_length(const xcb_get_image_reply_t *reply);
34
35       xcb_generic_iterator_t xcb_get_image_data_end(const
36              xcb_get_image_reply_t *reply);
37

REQUEST ARGUMENTS

39       conn      The XCB connection to X11.
40
41       format    One of the following values:
42
43                 XCB_IMAGE_FORMAT_XY_BITMAP
44                           TODO: NOT YET DOCUMENTED.
45
46                 XCB_IMAGE_FORMAT_XY_PIXMAP
47                           TODO: NOT YET DOCUMENTED.
48
49                 XCB_IMAGE_FORMAT_Z_PIXMAP
50                           TODO: NOT YET DOCUMENTED.
51                 TODO: NOT YET DOCUMENTED.
52
53       drawable  TODO: NOT YET DOCUMENTED.
54
55       x         TODO: NOT YET DOCUMENTED.
56
57       y         TODO: NOT YET DOCUMENTED.
58
59       width     TODO: NOT YET DOCUMENTED.
60
61       height    TODO: NOT YET DOCUMENTED.
62
63       plane_mask
64                 TODO: NOT YET DOCUMENTED.
65

REPLY FIELDS

67       response_type
68                 The type of this reply, in this case XCB_GET_IMAGE. This
69                 field is also present in the xcb_generic_reply_t and can be
70                 used to tell replies apart from each other.
71
72       sequence  The sequence number of the last request processed by the X11
73                 server.
74
75       length    The length of the reply, in words (a word is 4 bytes).
76
77       depth     TODO: NOT YET DOCUMENTED.
78
79       visual    TODO: NOT YET DOCUMENTED.
80

DESCRIPTION

RETURN VALUE

83       Returns an xcb_get_image_cookie_t. Errors have to be handled when call‐
84       ing the reply function xcb_get_image_reply.
85
86       If you want to handle errors in the event loop instead, use xcb_get_im‐
87       age_unchecked. See xcb-requests(3) for details.
88

ERRORS

90       This request does never generate any errors.
91

SEE ALSO

AUTHOR

94       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
95       rections and improvements.
96
97
98
99X Version 11                     libxcb 1.13.1                xcb_get_image(3)
Impressum