diff --git a/crates/engine/src/lib.rs b/crates/engine/src/lib.rs index a3485ee8..7f851c02 100644 --- a/crates/engine/src/lib.rs +++ b/crates/engine/src/lib.rs @@ -23,6 +23,8 @@ use serde_json::Value; pub use commands::{CommandSpec, command_specs, find as find_command}; pub use effectcraft_effects as effects; +pub use effectcraft_color as color; +pub use effectcraft_geom as geom; pub use effectcraft_keyframe as keyframe; pub use effectcraft_project as project; pub use effectcraft_render as render; diff --git a/crates/render/src/lib.rs b/crates/render/src/lib.rs index 944c858e..0e2380c9 100644 --- a/crates/render/src/lib.rs +++ b/crates/render/src/lib.rs @@ -351,3 +351,8 @@ pub fn content_bounds(ctx: &EvalCtx, layer: &effectcraft_project::Layer) -> Opti } } } + +/// A mask/shape path as a kurbo path (for drawing overlays). +pub fn kurbo_path(sp: &effectcraft_keyframe::ShapePath) -> kurbo::BezPath { + effectcraft_path::to_kurbo(sp) +}