makepad_vector/font/
glyph.rs

1use crate::font::HorizontalMetrics;
2use crate::geometry::Rectangle;
3use crate::path::PathCommand;
4
5/// A glyph in a font.
6#[derive(Clone, Debug, PartialEq)]
7pub struct Glyph {
8    pub horizontal_metrics: HorizontalMetrics,
9    pub bounds: Rectangle,
10    pub outline: Vec<PathCommand>,
11}