Skip to content

Releases: hfutrell/BezierKit

v0.7.1

03 Nov 22:08
Compare
Choose a tag to compare

Makes PathComponentRange properties mutable and exposes constructor publicly

v0.7.0

23 Oct 19:14
Compare
Choose a tag to compare
  • adds support for installation via Swift Package Manager (SPM)
  • adds support for NSSecureCoding in Path
  • adds support for Linux (excluding interoperability with unavailable CoreGraphics APIs such as CGPath)

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

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.