0.11.1 (2024-09-12)
This release has an MSRV of 1.65.
Added
- Add
From (f32, f32)
forPoint
. (#339 by @rsheeter) - Add
Rect::overlaps
andRect::contains_rect
. (#347 by @nils-mathieu) - Add
CubicBez::tangents
(#288 by @raphlinus) - Add
Arc::reversed
. (#367 by @waywardmonkeys) - Add
CircleSegment::inner_arc
andCircleSegment::outer_arc
(#368 by @waywardmonkeys) - Add
Rect::is_zero_area
andSize::is_zero_area
and deprecate theiris_empty
methods. (#370 by @waywardmonkeys) - Add
Line::reversed
andLine::midpoint
. (#375 by @waywardmonkeys) - Allow construction of
Line
from(Point, Point)
and(Point, Vec2)
. (#376 by @waywardmonkeys)
Changed
- Move
Self: Sized
bound fromShape
to methods. (#340 by @waywardmonkeys) - Enable partial SVG path support in
no_std
builds. (#356 by @waywardmonkeys) - Deprecate
BezPath::flatten
, preferflatten
. (#361 by @waywardmonkeys)
Fixed
- An edge case in
mindist
was fixed. (#334 by @platlas) - Allow lines in simplify input. (#343 by @raphlinus)
- Don't skip first dash in dash pattern. (#353 by @dominikh)
- Documentation for
Arc.perimeter
was corrected. (#354 by @simoncozens) - Parsing scientific notation in an SVG path was fixed. (#365 by @GabrielDertoni)
New Contributors
- @nils-mathieu made their first contribution in #347
- @GabrielDertoni made their first contribution in #365
- @dominikh made their first contribution in #353
Full Changelog: v0.11.0...v0.11.1