skia_safe/
modules.rs

1#[cfg(feature = "textlayout")]
2pub(crate) mod paragraph;
3#[cfg(feature = "svg")]
4pub mod resources;
5#[cfg(feature = "textlayout")]
6pub mod shaper;
7#[cfg(feature = "svg")]
8pub mod svg;
9#[cfg(feature = "textlayout")]
10pub use shaper::{icu, Shaper};
11
12// Export everything below paragraph under textlayout
13#[cfg(feature = "textlayout")]
14pub mod textlayout {
15    pub use super::paragraph::*;
16}
17
18#[cfg(feature = "textlayout")]
19pub mod shapers {
20    // Re-exports `shapers::primitive`.
21    pub use crate::shaper::shapers::*;
22
23    pub mod ct {
24        pub use crate::shaper::core_text::*;
25    }
26
27    pub mod hb {
28        pub use crate::shaper::harfbuzz::*;
29    }
30
31    pub mod unicode {
32        pub use crate::shaper::unicode::*;
33    }
34}