x11rb::protocol::render

Function triangles

Source
pub fn triangles<'c, 'input, Conn>(
    conn: &'c Conn,
    op: PictOp,
    src: Picture,
    dst: Picture,
    mask_format: Pictformat,
    src_x: i16,
    src_y: i16,
    triangles: &'input [Triangle],
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,