Struct xcb::ffi::xproto::xcb_copy_area_request_t
[−]
[src]
#[repr(C)]pub struct xcb_copy_area_request_t { pub major_opcode: u8, pub pad0: u8, pub length: u16, pub src_drawable: xcb_drawable_t, pub dst_drawable: xcb_drawable_t, pub gc: xcb_gcontext_t, pub src_x: i16, pub src_y: i16, pub dst_x: i16, pub dst_y: i16, pub width: u16, pub height: u16, }
copy areas
Copies the specified rectangle from src_drawable
to dst_drawable
.
Fields
major_opcode: u8
pad0: u8
length: u16
src_drawable: xcb_drawable_t
The source drawable (Window or Pixmap).
dst_drawable: xcb_drawable_t
The destination drawable (Window or Pixmap).
gc: xcb_gcontext_t
The graphics context to use.
src_x: i16
The source X coordinate.
src_y: i16
The source Y coordinate.
dst_x: i16
The destination X coordinate.
dst_y: i16
The destination Y coordinate.
width: u16
The width of the area to copy (in pixels).
height: u16
The height of the area to copy (in pixels).
Trait Implementations
impl Copy for xcb_copy_area_request_t
[src]
impl Clone for xcb_copy_area_request_t
[src]
fn clone(&self) -> xcb_copy_area_request_t
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more