Add custom metadata to Attrs, copied to ShapeGlyph and LayoutGlyph

This commit is contained in:
Jeremy Soller 2022-12-14 09:19:03 -07:00
parent cdf36db03d
commit 8bf0032974
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
3 changed files with 19 additions and 8 deletions

View file

@ -26,6 +26,8 @@ pub struct LayoutGlyph {
pub y_int: i32,
/// Optional color override
pub color_opt: Option<Color>,
/// Metadata from `Attrs`
pub metadata: usize,
}
/// A line of laid out glyphs