Add line width field to LayoutLine
This commit is contained in:
parent
652543f9aa
commit
67950724c3
3 changed files with 9 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ pub struct LayoutGlyph {
|
|||
|
||||
/// A line of laid out glyphs
|
||||
pub struct LayoutLine {
|
||||
/// Width of the line
|
||||
pub w: f32,
|
||||
/// Glyphs in line
|
||||
pub glyphs: Vec<LayoutGlyph>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue