Expand description
CSS Flexbox Layout
Implements the CSS Flexible Box Layout algorithm. All dimensions use 26.6 fixed-point arithmetic (i32) consistent with Phase A.
Structs§
- Flex
Container Style - Flex container properties
- Flex
Item - A flex item with its computed properties
- Flex
Layout - Flex layout engine
Enums§
- Align
Content - Alignment for multiple flex lines
- Align
Items - Cross-axis alignment for flex items
- Align
Self - Per-item alignment override
- Flex
Direction - Flex direction (main axis orientation)
- Flex
Wrap - Flex wrapping behavior
- Justify
Content - Main-axis content distribution
Constants§
Functions§
- fp
- Convert integer to 26.6 fixed-point
- fp_div
- Divide two 26.6 fixed-point values
- fp_int
- Convert 26.6 fixed-point to integer (truncate)
- fp_mul
- Multiply two 26.6 fixed-point values
Type Aliases§
- Fixed
Point - 26.6 fixed-point type