Function nannou::text::glyph::contours_to_path
source · pub fn contours_to_path<'a, I>(
_exact_bounding_box: Rect<f32>,
contours: I
) -> impl Iterator<Item = PathEvent>where
I: IntoIterator<Item = Contour>,
Expand description
Convert the given sequence of contours to a geom::Path
.
In the resulting path events [0.0, 0.0] is the bottom left of the rect.