Function xcb::xproto::copy_area [−][src]
pub fn copy_area<'a>(
c: &'a Connection,
src_drawable: Drawable,
dst_drawable: Drawable,
gc: Gcontext,
src_x: i16,
src_y: i16,
dst_x: i16,
dst_y: i16,
width: u16,
height: u16
) -> VoidCookie<'a>
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).