Trait mupdf::path::PathWalker

source ·
pub trait PathWalker {
    // Required methods
    fn move_to(&mut self, x: f32, y: f32);
    fn line_to(&mut self, x: f32, y: f32);
    fn curve_to(
        &mut self,
        cx1: f32,
        cy1: f32,
        cx2: f32,
        cy2: f32,
        ex: f32,
        ey: f32
    );
    fn close(&mut self);
}

Required Methods§

source

fn move_to(&mut self, x: f32, y: f32)

source

fn line_to(&mut self, x: f32, y: f32)

source

fn curve_to(&mut self, cx1: f32, cy1: f32, cx2: f32, cy2: f32, ex: f32, ey: f32)

source

fn close(&mut self)

Implementors§