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

NAME

6       xcb_copy_area - copy areas
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_copy_area(xcb_connection_t *conn,
13              xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable,
14              xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x,
15              int16_t dst_y, uint16_t width, uint16_t height);
16

REQUEST ARGUMENTS

18       conn      The XCB connection to X11.
19
20       src_drawable
21                 The source drawable (Window or Pixmap).
22
23       dst_drawable
24                 The destination drawable (Window or Pixmap).
25
26       gc        The graphics context to use.
27
28       src_x     The source X coordinate.
29
30       src_y     The source Y coordinate.
31
32       dst_x     The destination X coordinate.
33
34       dst_y     The destination Y coordinate.
35
36       width     The width of the area to copy (in pixels).
37
38       height    The height of the area to copy (in pixels).
39

DESCRIPTION

41       Copies the specified rectangle from src_drawable to dst_drawable.
42

RETURN VALUE

44       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
45       event loop.
46
47       If you want to handle errors directly with xcb_request_check instead,
48       use xcb_copy_area_checked. See xcb-requests(3) for details.
49

ERRORS

51       xcb_drawable_error_t
52                 The specified drawable (Window or Pixmap) does not exist.
53
54       xcb_g_context_error_t
55                 The specified graphics context does not exist.
56
57       xcb_match_error_t
58                 src_drawable has a different root or depth than dst_drawable.
59

SEE ALSO

61       xcb-requests(3)
62

AUTHOR

64       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
65       rections and improvements.
66
67
68
69X Version 11                     libxcb 1.13.1                xcb_copy_area(3)
Impressum