Skip to content

Latest commit

 

History

History
110 lines (60 loc) · 4.89 KB

CHANGELOG.md

File metadata and controls

110 lines (60 loc) · 4.89 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.4.1 (2024-07-30)

Features

  • add .push for Path and Paths (3764676)

Bug Fixes

  • add bug fixes from Clipper2 C++ library (58d2653)

0.4.0 (2024-06-04)

⚠ BREAKING CHANGES

  • Use .translate instead of .offset for Paths and Path structs.
  • Removes the custom iterators PathIterator and PathsIterator, instead rely on the standard iterator types from vec and slice.

Features

  • improve the iterator impls for Paths and Path (0c93f5d)
  • remove depr. .offset method from Paths/Path (4ee9fd4)

0.3.0 (2024-06-01)

⚠ BREAKING CHANGES

  • scale now takes two arguments, allowing separate x and y scaling factors

Features

  • implement IntoIterator for Path/Paths (846602c)
  • Path: add .rectangle method (a1dbb5c)
  • serde: ser./deser. Path and Paths (b9800b7)
  • support calculating signed path areas (b1c6386)
  • support scaling around a point (ba6dec3)

0.2.3 (2024-05-13)

Features

  • expose clipper builder, add path methods (0702f67)

0.2.2 (2024-05-07)

Features

  • path: add .flip_x and .flip_y to path structs (6323292)
  • path: add .rotate(rad) method to Path/Paths (150715a)
  • path: add .scale(scale) method to Path/Paths (447ed8d)
  • path: rename .offset(x,y) to .translate(x,y) (06bcfb3)

Bug Fixes

  • path: keep path bounds centered during flip (d87993e)

0.2.1 (2024-05-03)

Features

  • add .offset(x, y) method to Path and Paths (be676f5)
  • add bounds struct to path/paths (3d541f8)
  • add bounds struct to path/paths (b17ccfd)
  • Paths: add from Vec<Path

    > for Paths (39ea7a1)

  • simplify: add simplify function (418b98f)

0.2.0 (2024-04-29)

⚠ BREAKING CHANGES

Features

  • swap out ffi mappings, custom scaling, ref. (5d1e7d2)
  • windows support and example (468e9aa)

0.1.2 (2024-03-17)

Features

  • add intersect, union, difference, and xor ops (83e6408)

0.1.1 (2024-03-03)

0.1.0 (2024-03-03)

Features

  • inflate: expose inflate offsetting function (1e842e2)