Layout alignment

This commit is contained in:
Olivier Goffart 2020-11-03 12:12:10 +01:00
parent fa077662c1
commit 4a182ef4d0
9 changed files with 152 additions and 19 deletions

View file

@ -283,6 +283,7 @@ using cbindgen_private::solve_box_layout;
using cbindgen_private::box_layout_info;
using cbindgen_private::solve_path_layout;
using cbindgen_private::Rect;
using cbindgen_private::LayoutAlignment;
inline LayoutInfo LayoutInfo::merge(const LayoutInfo &other) const {
// Note: This "logic" is duplicated from LayoutInfo::merge in layout.rs.