Skip to content

Releases: tirithen/clipper2

v0.4.1

30 Jul 09:01
8e4c86f
Compare
Choose a tag to compare

0.4.1 (2024-07-30)

Features

  • add .push for Path and Paths (3764676)

Bug Fixes

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

v0.4.0

04 Jun 20:32
a0677f5
Compare
Choose a tag to compare

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)

v0.3.0

01 Jun 14:18
4366907
Compare
Choose a tag to compare

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)

v0.2.3

13 May 20:36
Compare
Choose a tag to compare

0.2.3 (2024-05-13)

Features

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

v0.2.2

07 May 22:10
Compare
Choose a tag to compare

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)

v0.2.1

03 May 13:08
Compare
Choose a tag to compare

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)

v0.2.0

29 Apr 03:12
Compare
Choose a tag to compare

0.2.0 (2024-04-29)

⚠ BREAKING CHANGES

Features

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

v0.1.2

29 Apr 03:11
Compare
Choose a tag to compare

0.1.2 (2024-03-17)

Features

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

v0.1.1

29 Apr 03:11
Compare
Choose a tag to compare

0.1.1 (2024-03-03)

v0.1.0

29 Apr 03:10
Compare
Choose a tag to compare

0.1.0 (2024-03-03)

Features

  • inflate: expose inflate offsetting function (1e842e2)