pub trait UnscaledOutlineSink {
// Required methods
fn start_contour(&mut self);
fn point(&mut self, x: i32, y: i32, flags: PointFlags);
fn end_contour(&mut self);
}Expand description
Receives the points of an outline in font units, one contour at a time.
Required Methods§
Sourcefn start_contour(&mut self)
fn start_contour(&mut self)
Begins a contour.
Sourcefn point(&mut self, x: i32, y: i32, flags: PointFlags)
fn point(&mut self, x: i32, y: i32, flags: PointFlags)
Adds a point to the open contour.
flags indicate whether the point is on the curve or is an off-curve
control point of a quadratic or cubic curve. The interpreter marker
flags are always clear.
Sourcefn end_contour(&mut self)
fn end_contour(&mut self)
Ends the open contour.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".