rive_rs

Trait Renderer

Source
pub trait Renderer: Debug {
    // Required methods
    fn draw(&mut self, path: &CommandPath, transform: Mat, paint: &RenderPaint);
    fn clip(&mut self, path: &CommandPath, transform: Mat, layers: usize);
}

Required Methods§

Source

fn draw(&mut self, path: &CommandPath, transform: Mat, paint: &RenderPaint)

Source

fn clip(&mut self, path: &CommandPath, transform: Mat, layers: usize)

Implementors§