Expand description
Paragraph shaping, metrics caching, and viewport virtualization. Paragraph layout, caching, metrics, and viewport virtualization.
Re-exports§
pub use layout_cache::LayoutCache;pub use paragraph_metrics::FenwickTree;pub use paragraph_metrics::ParagraphMetrics;pub use paragraph_metrics::ParagraphMetricsCache;pub use paragraph_metrics::ParagraphMetricsMetadata;pub use paragraph_metrics::ParagraphMetricsStats;pub use text_runs::first_layout_baseline;pub use text_runs::layout_visual_height;pub use text_runs::run_visual_bottom;pub use text_runs::run_visual_top;pub use text_runs::EditorTextRun;pub use visible_lines::build_visible_text_layout;pub use visible_lines::build_visible_text_layout_filtered;pub use visible_lines::VisibleTextLayout;
Modules§
- layout_
cache - Per-paragraph shaped layout cache. Per-engine paragraph shaping cache and quantized cache keys.
- paragraph_
metrics - Cached paragraph dimensions and prefix-sum index. Cached paragraph dimensions, revision metadata, and prefix-sum lookup.
- text_
runs - Visible paragraph run geometry. Visible paragraph run values and baseline-derived visual bounds.
- visible_
lines - Visible-run construction and no-wrap virtualization. Visible paragraph shaping with filtered and no-wrap virtualized paths.