Introduce text::Alignment with Justified support
This commit is contained in:
parent
e45d4b5cb6
commit
0e4a392731
30 changed files with 227 additions and 195 deletions
|
|
@ -399,8 +399,8 @@ impl Engine {
|
|||
size,
|
||||
line_height,
|
||||
font,
|
||||
horizontal_alignment,
|
||||
vertical_alignment,
|
||||
align_x,
|
||||
align_y,
|
||||
shaping,
|
||||
clip_bounds: text_bounds, // TODO
|
||||
} => {
|
||||
|
|
@ -420,8 +420,8 @@ impl Engine {
|
|||
*size,
|
||||
*line_height,
|
||||
*font,
|
||||
*horizontal_alignment,
|
||||
*vertical_alignment,
|
||||
*align_x,
|
||||
*align_y,
|
||||
*shaping,
|
||||
pixels,
|
||||
clip_mask,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue