Skip to content

Releases: hfutrell/BezierKit

v0.6.7

13 Sep 22:54
Compare
Choose a tag to compare
  • reverts a change from v0.6.6 that was causing issues

v0.6.6: Merge branch '0.6.6-release' of https://github.com/hfutrell/BezierKit…

09 Sep 00:00
Compare
Choose a tag to compare
  • improves performance of cubic curve self-intersection routine selfIntersects
  • minor bug fixes

v0.6.5

02 Jun 18:47
Compare
Choose a tag to compare

Fixes an issue where curve.project(_:) could return incorrect results because the closest solution could be missed.

v0.6.3

28 May 17:52
Compare
Choose a tag to compare
  • improved algorithm for curve.project(_:) so that accuracy parameter is no longer needed
  • renames curve.compute(_:) to curve.point(at:)
  • renames curve.derivative(_:) to curve.derivative(at:)
  • renames curve.normal(_:) to curve.normal(at:)

v0.6.2

14 Apr 23:45
Compare
Choose a tag to compare
  • 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

02 Apr 00:19
Compare
Choose a tag to compare

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

16 Nov 01:05
Compare
Choose a tag to compare

This release patches the old 0.5.13 release so resolve compiler warnings. Most people should use version 0.6+.

v0.6.0

06 Nov 22:52
Compare
Choose a tag to compare

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.

v0.5.13

13 Jun 00:31
Compare
Choose a tag to compare
  • improves the behavior of Path.contains(_:CGPoint) for complex paths
  • new implementation of lock that should appear as OK when thread sanitizer is used
  • fixes behavior of disjointComponents() in certain cases

v0.5.12: fixed unit test so it is relevant and applicable to both 32 and 64 bi…

06 Jun 00:37
Compare
Choose a tag to compare
  • fixes behavior of Path.contains(:_) for some cases of paths where an path element is a cubic curve with multiple extrema