Expand description
GPUI’s default engine: Taffy-backed layout evaluation and the text shaping and wrapping caches the facade drives.
The scene representation and the engine’s interface contracts live in
gpui_engine; this crate holds the concrete implementations that depend
on taffy.
Structs§
- Default
Text System - The GPUI text rendering sub system.
- Line
Layout Cache - A per-window cache of shaped and wrapped line layouts, retaining the previous frame so reused layouts survive a frame boundary.
- Missing
Glyph Receiver - Receives batches of grapheme clusters that exhausted font fallback.
- Taffy
Layout Engine - The
taffy-backed layout tree for a window.
Traits§
- Default
Text System Ext - Affordances of the default text system that the shared
TextSystemSPI does not carry, in the same spirit asgpui_parley’sas_parley.
Functions§
- default_
layout_ engine - Creates the layout engine the default engine hands to each new window.
- underline_
y_ offset - Returns the vertical offset used to paint an underline within a line.