[]Module lyon_tess2::math

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

Functions

point

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

rect

Shorthand for Rect::new(Point::new(x, y), Size::new(w, h)).

size

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

vector

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

Type Definitions

Angle

An angle in radians (f32).

Point

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

Rect

Alias for euclid::default::Rect<f32>

Rotation

Alias for euclid::default::Rotation2D<f32>

Scale

Alias for euclid::default::Scale<f32>

Size

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

Transform

Alias for euclid::default::Transform2D<f32>

Translation

Alias for euclid::default::Translation2D<f32>

Vector

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