skia_safe/
modules.rs

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