x11rb::protocol::render

Function create_linear_gradient

Source
pub fn create_linear_gradient<'c, 'input, Conn>(
    conn: &'c Conn,
    picture: Picture,
    p1: Pointfix,
    p2: Pointfix,
    stops: &'input [Fixed],
    colors: &'input [Color],
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,