Module lyon::math[]

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 Rect::new(Point::new(x, y), Size::new(w, h)).

Shorthand for Size::new(x, y).

Shorthand for Vector::new(x, y).

Type Definitions

An angle in radians (f32).

Alias for euclid::default::Point2D<f32>.

Alias for euclid::default::Rect<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>.