skia_safe/
modules.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#[cfg(feature = "textlayout")]
pub(crate) mod paragraph;
#[cfg(feature = "svg")]
pub mod resources;
#[cfg(feature = "textlayout")]
pub mod shaper;
#[cfg(feature = "svg")]
pub mod svg;
#[cfg(feature = "textlayout")]
pub use shaper::{icu, Shaper};

// Export everything below paragraph under textlayout
#[cfg(feature = "textlayout")]
pub mod textlayout {
    pub use super::paragraph::*;
}

#[cfg(feature = "textlayout")]
pub mod shapers {
    // Re-exports `shapers::primitive`.
    pub use crate::shaper::shapers::*;

    pub mod ct {
        pub use crate::shaper::core_text::*;
    }

    pub mod hb {
        pub use crate::shaper::harfbuzz::*;
    }

    pub mod unicode {
        pub use crate::shaper::unicode::*;
    }
}