Skip to main content

jellyflow_runtime/runtime/geometry/
mod.rs

1//! Renderer-neutral geometry primitives for Jellyflow runtimes and adapters.
2
3mod bounds;
4mod endpoints;
5mod hit_test;
6mod paths;
7mod viewport;
8
9pub(crate) use bounds::CanvasBounds;
10pub use endpoints::{
11    EdgeEndpointInput, EdgeEndpointPosition, EdgePosition, HandleBounds, HandlePosition,
12    edge_position, handle_anchor_position, handle_center_position,
13};
14pub use hit_test::{EdgeHitTestOptions, edge_path_contains_point, edge_path_distance};
15pub use paths::{
16    BezierEdgeOptions, EdgePath, EdgePathLabel, PathCommand, SmoothStepEdgeOptions,
17    bezier_edge_path, smoothstep_edge_path, straight_edge_path,
18};
19pub(crate) use viewport::ViewportFitFrame;