Function x11rb::protocol::render::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,