Module types

Source
Expand description

Structs and enums that are used within the grid module

Modulesยง

cell_occupancy ๐Ÿ”’
Contains CellOccupancyMatrix used to track occupied cells during grid placement
coordinates ๐Ÿ”’
Taffy uses two coordinate systems to refer to grid lines (the gaps/gutters between rows/columns):
grid_item ๐Ÿ”’
Contains GridItem used to represent a single grid item during layout
grid_track ๐Ÿ”’
Contains GridTrack used to represent a single grid track (row/column) during layout
grid_track_counts ๐Ÿ”’
Contains TrackCounts used to keep track of the number of tracks in the explicit and implicit grids. Also contains coordinate conversion functions which depend on those counts
named ๐Ÿ”’
Code for resolving name grid lines and areas