Releases: hfutrell/BezierKit
v0.7.1
v0.7.0
v0.6.7
v0.6.6
v0.6.5
v0.6.3
v0.6.2
- fixed an issue where importing BezierKit in an app extension would cause a build warning
- vector boolean operations such as
Path.union(_ path: Path)
no longer return an optional Path.selfIntersections(accuracy:)
once again includes intersections where a single curve element intersects itself
v0.6.1
scale()
now returns nil
when attempting to scale an unscalable curve, such as a point.
PathComponent.offset()
now ignores curves that cannot be scaled, and returns nil
if none of the component’s curves could be scaled. In previous releases offsetting a circle with zero radius would result in a crash.
Fixes issues with vector boolean operations on paths with coincident edges
Removes cgPath
property of PathComponent
. If you need this consider constructing a Path with a single component, ie using Path(components: [component]).cgPath
Improves the performance of computing Path.cgPath
in the case of multi-component paths. This is especially relevant to dashed paths which can have hundreds of components.
v0.5.14
v0.6.0
This release refactors a number of APIs and improves support for vector boolean operations in cases where edges are coincident.
It also removes some APIs from the core library which were questionably useful, including approximating curves as arcs (ArcApproximateable
) and support for variable width outlines.