Expand description
This module is not required for spec compliance, but is used as a performance optimisation to reduce the number of allocations required when creating a grid.
Functionsยง
- child_
min_ ๐line_ max_ line_ span - Helper function for
compute_grid_size_estimate
Produces a conservative estimate of the greatest and smallest grid lines used by a single grid item - compute_
grid_ ๐size_ estimate - Estimate the number of rows and columns in the grid This is used as a performance optimisation to pre-size vectors and reduce allocations. It also forms a necessary step in the auto-placement
- get_
known_ ๐child_ positions - Iterate over children, producing an estimate of the min and max grid lines along with the span of each item