Skip to content

v0.2.0

Compare
Choose a tag to compare
@hfutrell hfutrell released this 18 Mar 23:45

This release adds Path.data and Path(data: Data) methods to convert between Path instances and a compact binary representation for serialization / deserialization.

The release also dramatically reduces the memory usage of Path instances.

Path.subpaths has been renamed Path.components

Path.curves may be deprecated in the future. To access elements it's recommended that you use Path.element(at:) instead. It's recommended that you use Path.elementCount instead of Path.curves.count because it's much faster.

Exposed CGPoint.cross(_:) vector cross product method