makepad-vector 0.4.0

Makepad vector api
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::font::HorizontalMetrics;
use crate::geometry::Rectangle;
use crate::path::PathCommand;

/// A glyph in a font.
#[derive(Clone, Debug, PartialEq)]
pub struct Glyph {
    pub horizontal_metrics: HorizontalMetrics,
    pub bounds: Rectangle,
    pub outline: Vec<PathCommand>,
}