Add line width field to LayoutLine
This commit is contained in:
parent
652543f9aa
commit
67950724c3
3 changed files with 9 additions and 0 deletions
|
|
@ -594,6 +594,7 @@ impl ShapeLine {
|
|||
mem::swap(&mut glyphs, &mut glyphs_swap);
|
||||
layout_lines.push(
|
||||
LayoutLine {
|
||||
w: x,
|
||||
glyphs: glyphs_swap,
|
||||
},
|
||||
);
|
||||
|
|
@ -623,6 +624,7 @@ impl ShapeLine {
|
|||
mem::swap(&mut glyphs, &mut glyphs_swap);
|
||||
layout_lines.push(
|
||||
LayoutLine {
|
||||
w: x,
|
||||
glyphs: glyphs_swap,
|
||||
},
|
||||
);
|
||||
|
|
@ -650,6 +652,7 @@ impl ShapeLine {
|
|||
mem::swap(&mut glyphs, &mut glyphs_swap);
|
||||
layout_lines.push(
|
||||
LayoutLine {
|
||||
w: x,
|
||||
glyphs: glyphs_swap,
|
||||
},
|
||||
);
|
||||
|
|
@ -663,6 +666,7 @@ impl ShapeLine {
|
|||
if push_line {
|
||||
layout_lines.push(
|
||||
LayoutLine {
|
||||
w: x,
|
||||
glyphs,
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue