Skip to content

Releases: hfutrell/BezierKit

v0.15.0

28 Jun 19:50
Compare
Choose a tag to compare
  • improves WASM support with inclusion of Path.data / Path.init(_ data:)
  • fixes WASM-specific stack overflow issue in intersection routines
  • exposes .data method to Objective-C whose visibility had been accidentally removed

v0.14.0

12 Mar 01:51
Compare
Choose a tag to compare
  • Initial support for WASM
  • move to using GitHub actions for CI (no more Travis)
  • Obj-C code that uses BezierKitPath and BezierKitPathComponent should now use Path and PathComponent or provide their own typedefs.

v0.13.0

09 Dec 00:46
Compare
Choose a tag to compare

-- fixes issue #47 by implementing hash function which provides implementation of Swift Hashable protocol

v0.12.1

13 Nov 00:12
Compare
Choose a tag to compare
  • adds low overhead Path and PathComponent implementation of CGPath method apply(info:, function:)
  • adds low overhead Path and PathComponent implementation of CGPath method boundingBoxOfPath

v0.11.0: Merge pull request #94 from hfutrell/intersection-via-implicitization

12 May 00:36
385af8c
Compare
Choose a tag to compare

-- uses much faster analytical method for curve.selfIntersections. Removed accuracy parameter since it is no longer needed there (self intersections will always be found with very high accuracy).
-- improves curve-curve intersection performance (curve.intersections(with:)) in certain cases such as when requesting very precise accuracy or when curves intersect tangentially.

v0.10.0

09 Feb 18:49
Compare
Choose a tag to compare
  • adds APIs to Path and PathComponent for derivatives and normals (derivative(at:) and normal(at:))
  • moderate reduction of memory footprint of paths created with Path.init(cgPath:)
  • reduces Swift runtime overhead of point(at:) for Path and PathComponent

v0.9.0: Merge pull request #85 from hfutrell/public-bernstein

26 Jan 01:34
70b38d1
Compare
Choose a tag to compare
  • new API for getting x and y coordinates of Bezier Curves as individual polynomials
  • improved accuracy of Path.contains(_:) in some circumstances

v0.8.0

25 Nov 23:45
Compare
Choose a tag to compare
  • speeds up implementation of CubicCurve.project(_:) by a factor of 2
  • provides implementation of Path.project(_:) and PathComponent.project(_:) to help common task of finding closest point on path
  • additional performance tests

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)