[−][src]Function clipboard_x11::copy_area_checked
pub fn copy_area_checked(
c: &'a Connection,
src_drawable: u32,
dst_drawable: u32,
gc: u32,
src_x: i16,
src_y: i16,
dst_x: i16,
dst_y: i16,
width: u16,
height: u16
) -> Cookie<'a, xcb_void_cookie_t>
copy areas
Copies the specified rectangle from src_drawable
to dst_drawable
.
parameters:
-
c: The connection object to the server
-
src_drawable: The source drawable (Window or Pixmap).
-
dst_drawable: The destination drawable (Window or Pixmap).
-
gc: The graphics context to use.
-
src_x: The source X coordinate.
-
src_y: The source Y coordinate.
-
dst_x: The destination X coordinate.
-
dst_y: The destination Y coordinate.
-
width: The width of the area to copy (in pixels).
-
height: The height of the area to copy (in pixels).