x11rb::protocol::render

Function composite

Source
pub fn composite<Conn, A>(
    conn: &Conn,
    op: PictOp,
    src: Picture,
    mask: A,
    dst: Picture,
    src_x: i16,
    src_y: i16,
    mask_x: i16,
    mask_y: i16,
    dst_x: i16,
    dst_y: i16,
    width: u16,
    height: u16,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Picture>,