Releases: khonsulabs/figures
Releases · khonsulabs/figures
v0.5.0
Breaking Changes
wgpu
has been updated to 23.0.0
.
v0.4.3
Added
- Trait
StdNumOps
defines saturating math operations. All unit types, Size
,
and Point
implement this trait.
Rect::saturating_extents
returns the extents of a rectangle using saturating
math.
v0.4.2
Added
Duration
now implements Ranged
.
v0.4.1
Changed
Fraction::new
now contains a debug_assert!
ensuring the denominator is
non-zero.
Added
Rect
now implements FloatConversion
when its unit type implements it.
v0.4.0
Breaking Changes
wgpu
has been updated to v22.0.0
.
v0.3.0
Breaking Changes
Px
, UPx
, and Lp
no longer directly have an associated constant ZERO
.
This constant is still available via the Zero
trait.
- This crate's
wgpu
version is now 0.20.0
.
- This crate's
winit
version is now 0.30.0
.
v0.2.2
Added
Size
and Point
now implement both to/from winit's
PhysicalSize/PhysicalPosition for both i32
/Px
and u32
/UPx
.
v0.2.1
Added
Px
, UPx
, and Lp
now can be multiplied by Fraction
.
Point::rotate_by
and Point::rotate_around
allow rotating points by an
Angle
.
v0.2.0
This version is a complete rewrite to be primarily integer driven. No attempt at keeping a compatible API has been made.