Releases: linebender/kurbo
Releases · linebender/kurbo
v0.11.2
0.11.2 (2025-04-28)
This release has an MSRV of 1.65.
Added
Stroke
is nowPartialEq
,StrokeOpts
is nowClone
,Copy
,Debug
,Eq
,PartialEq
. (#379 by @waywardmonkeys)- Implement
Sum
forVec2
. (#399 by @Philipp-M) - Add triangle shape. (#350 by @juliapaci, #387 by @tomcur)
- Implement
Div<f64>
andMul<f64>
forInsets
. (#384 by @liferooter) - Add
Vec2::turn_90
andVec2::rotate_scale
methods (#409 by @raphlinus) - Add
min
andmax
methods toSize
. (#412 by @nils-mathieu) - Add an
INFNITY
constant toSize
. (#413 by @nils-mathieu) - Add
BezPath::with_capacity
method (#418 by @LaurenzV) - Add
Affine::scale_about
andAffine::then_scale_about
. (#429 by @xorgy)
Changed
- Reduce number of operations in
Triangle::circumscribed_circle
. (#390 by @tomcur) - Numerically approximate ellipse perimeter. (#383, #407 by @tomcur)
- Always inline trivial casts, splats, and swizzles. (#428 by @xorgy)
Fixed
- Fix documentation of
Affine::svd
. (#388 by @tomcur) - Fix documentation of cross product. (#409 by @raphlinus)
New Contributors
- @juliapaci made their first contribution in #350
- @tomcur made their first contribution in #383
- @Philipp-M made their first contribution in #399
- @liferooter made their first contribution in #384
- @LaurenzV made their first contribution in #418
- @xorgy made their first contribution in #429
Full Changelog: v0.11.1...v0.11.2
v0.11.1
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