Re-export color/geom from engine; kurbo_path helper
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
989c4ba531
commit
58b137991b
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue