Trait font_kit::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
Receives Bézier path rendering commands.
Required methods
fn quadratic_curve_to(&mut self, ctrl: Vector2F, to: Vector2F)
[src]
fn quadratic_curve_to(&mut self, ctrl: Vector2F, to: Vector2F)
[src]Draws a quadratic Bézier curve to a point.
fn cubic_curve_to(&mut self, ctrl: LineSegment2F, to: Vector2F)
[src]
fn cubic_curve_to(&mut self, ctrl: LineSegment2F, to: Vector2F)
[src]Draws a cubic Bézier curve to a point.