Trait allsorts::outline::OutlineSink[][src]

pub trait OutlineSink {
    fn move_to(&mut self, to: Vector2F);
fn line_to(&mut self, to: Vector2F);
fn quadratic_curve_to(&mut self, ctrl: Vector2F, to: Vector2F);
fn cubic_curve_to(&mut self, ctrl: LineSegment2F, to: Vector2F);
fn close(&mut self); }
Expand description

A trait for visiting a glyph outline

Required methods

Moves the pen to a point.

Draws a line to a point.

Draws a quadratic Bézier curve to a point.

Draws a cubic Bézier curve to a point.

Closes the path, returning to the first point in it.

Implementors