Add custom metadata to Attrs, copied to ShapeGlyph and LayoutGlyph
This commit is contained in:
parent
cdf36db03d
commit
8bf0032974
3 changed files with 19 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue