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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#![cfg(windows)]
#[macro_use]
extern crate auto_enum;
#[macro_use]
extern crate derive_com_wrapper;
#[macro_use]
extern crate derive_com_impl;
extern crate checked_enum;
extern crate com_impl;
extern crate com_wrapper;
extern crate math2d;
extern crate memmap;
extern crate winapi;
extern crate wio;
pub use crate::error::DWResult;
pub use crate::factory::Factory;
pub use crate::font::Font;
pub use crate::font_collection::FontCollection;
pub use crate::font_face::FontFace;
pub use crate::font_family::FontFamily;
pub use crate::font_file::FontFile;
pub use crate::font_list::FontList;
pub use crate::geometry_sink::GeometrySink;
pub use crate::inline_object::InlineObject;
pub use crate::rendering_params::RenderingParams;
pub use crate::text_format::TextFormat;
pub use crate::text_layout::TextLayout;
pub use crate::text_renderer::TextRenderer;
pub use crate::typography::Typography;
pub mod descriptions;
pub mod effects;
pub mod enums;
pub mod error;
pub mod factory;
pub mod font;
pub mod font_collection;
pub mod font_face;
pub mod font_family;
pub mod font_file;
pub mod font_list;
pub mod geometry_sink;
pub mod inline_object;
pub mod localized_strings;
pub mod metrics;
pub mod number_substitution;
pub mod pixel_snapping;
pub mod rendering_params;
pub mod text_format;
pub mod text_layout;
pub mod text_renderer;
pub mod typography;
pub fn initialize() -> error::DWResult<Factory> {
Factory::new()
}