Expand description
Incremental layout + paint engine, split across focused modules.
LayoutEngine is a persistent view tree + Taffy integration that produces a
Scene per frame with hit regions and semantics, with incremental layout
(scope isolation, dirty sets, repaint-boundary caching, intrinsics).
Structs§
- Layout
Engine - Layout
Stats - Statistics about layout performance.
Enums§
- Intrinsic
Size Mode - Selects the intrinsic sizing mode for
LayoutEngine::intrinsic_size.
Constants§
- TEXT_
LINE_ LEADING_ PX - Extra height added to every
Textline box on top of the font size, in px. The glyphs sit centered inside the box, so components that place aTextby hand must offset by half of this to center the glyphs on a target y.