cosmic::widget::canvas::path::lyon_path

Module math

source
Expand description

f32 version of the lyon_geom types used everywhere. Most other lyon crates reexport them.

Functions§

  • Shorthand for Point::new(x, y).
  • Shorthand for Size::new(x, y).
  • Shorthand for Vector::new(x, y).

Type Aliases§

  • An angle in radians (f32).
  • Alias for euclid::default::Box2D<f32>
  • Alias for euclid::default::Point2D<f32>.
  • Alias for euclid::default::Rotation2D<f32>
  • Alias for euclid::default::Scale<f32>
  • Alias for euclid::default::Size2D<f32>.
  • Alias for euclid::default::Transform2D<f32>
  • Alias for euclid::default::Translation2D<f32>
  • Alias for euclid::default::Point2D<f32>.