meshtext 0.3.2

Generate vertex-vertex meshes from text.
Documentation
1
2
3
4
5
6
7
8
9
10
type Point = (f32, f32);

/// The internal representation of a rasterized glyph outline.
pub(crate) struct GlyphOutline {
    /// The indices that form closed contours of points.
    pub contours: Vec<Vec<u32>>,

    /// A point cloud that contains one or more contours.
    pub points: Vec<Point>,
}