x11rb::protocol::render

Function create_radial_gradient

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