-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathlib.rs
More file actions
118 lines (96 loc) · 2.63 KB
/
lib.rs
File metadata and controls
118 lines (96 loc) · 2.63 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
pub mod any;
pub mod render_cache;
pub mod render_node;
pub mod text;
#[cfg(feature = "wasm")]
pub mod wasm_application_io;
pub use blending_nodes;
pub use brush_nodes as brush;
pub use core_types::*;
pub use graphene_application_io as application_io;
pub use graphene_core;
pub use graphic_nodes;
pub use math_nodes;
pub use path_bool_nodes as path_bool;
pub use raster_nodes;
pub use text_nodes;
pub use transform_nodes;
pub use vector_nodes;
pub use vector_types;
/// Backward compatibility re-exports
pub mod vector {
pub use graphic_types::Vector;
pub use vector_types::vector::{VectorModification, VectorModificationType, misc, style};
pub use vector_types::*;
// Re-export commonly used types and submodules
pub use vector_types::vector::algorithms;
pub use vector_types::vector::click_target;
pub use vector_types::vector::misc::HandleId;
pub use vector_types::vector::{PointId, RegionId, SegmentId, StrokeId};
pub use vector_types::vector::{deserialize_hashmap, serialize_hashmap};
// Re-export HandleExt trait and NoHashBuilder
pub use vector_types::vector::HandleExt;
pub use vector_types::vector::NoHashBuilder;
// Re-export vector node modules and functions
pub use vector_nodes::*;
}
pub mod graphic {
pub use graphic_nodes::graphic::*;
pub use graphic_types::Artboard;
pub use graphic_types::graphic::*;
}
pub mod artboard {
pub use graphic_nodes::artboard::*;
pub use graphic_types::artboard::*;
}
pub mod subpath {
pub use vector_types::subpath::*;
}
pub mod gradient {
pub use vector_types::GradientStops;
}
pub mod transform {
pub use core_types::transform::*;
pub use vector_types::ReferencePoint;
}
pub mod math {
pub use core_types::math::quad;
pub mod math_ext {
pub use vector_types::{QuadExt, RectExt};
}
}
pub mod logic {
pub use graphene_core::logic::*;
}
pub use graphene_core::debug;
// Re-export graphene_core modules for backward compatibility
pub mod ops {
pub use core_types::ops::*;
pub use graphene_core::ops::*;
}
pub mod extract_xy {
pub use graphene_core::extract_xy::*;
}
pub mod animation {
pub use graphene_core::animation::*;
}
// Re-export at top level for convenience
pub use graphic_types::{Artboard, Graphic, Vector};
/// stop gap solutions until all paths have been replaced with their absolute ones
pub mod renderer {
pub use core_types::math::quad::Quad;
pub use core_types::math::rect::Rect;
pub use rendering::*;
}
pub mod raster {
pub use graphic_types::raster_types::*;
pub use raster_nodes::adjustments::*;
pub use raster_nodes::*;
}
pub mod raster_types {
pub use graphic_types::raster_types::*;
}
pub mod memo {
pub use core_types::memo::*;
pub use graphene_core::memo::*;
}