Crate lyon_algorithms

source ·
Expand description

2d Path transformation and manipulation algorithms.

This crate is reexported in lyon.

Re-exports

  • pub extern crate lyon_path as path;
  • pub use crate::path::geom;

Modules

  • Bounding rectangle computation for paths.
  • Approximate the area of a path.
  • Fit paths into rectangles.
  • Generate hatching and dotted patterns in a path.
  • Determine whether a point is inside a path.
  • Approximate path length.
  • f32 version of the lyon_geom types used everywhere. Most other lyon crates reexport them.
  • Perform cached measurements and split operations on a path.
  • Find the first collision between a ray and a path.
  • Move at a defined speed along a path.