oxitext-layout 0.1.0

Text layouter for OxiText: LTR/RTL bidi, UAX #14 line-break, vertical CJK (M1/M2)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Rich line-aware layout engine.
//!
//! Split into submodules:
//! - [`types`] — data types: [`BreakingStrategy`], [`LayoutResult`], [`Line`],
//!   [`LineMetrics`], [`ParagraphMetrics`], [`LayoutEngine`], and
//!   `VerticalLineModel`.
//! - [`functions`] — private helper functions used by [`LayoutEngine`] methods.

pub mod functions;
pub mod types;

// Re-export public API from types (all the public structs and enums).
pub use types::{
    BreakingStrategy, LayoutEngine, LayoutResult, Line, LineMetrics, ParagraphMetrics,
};