☰ Menu
CLI Open source 17 installs/mo

clipper2 for Mac

clipper2

The future of Clipper development is now here.

clipper2 — overview

The future of Clipper development is now here.

The bad news: As of now I’m retiring from Clipper2 development. While this Clipper2 repository will remain, it will not be updated. So please don't post new Issues or Pull Requests here. The good news: I’m delighted to announce that Seth Hillibrand has agreed to take over Clipper maintenance and development, and this will continue at the link above.

The long version: Software development has been a wonderful hobby of mine for almost 50 years. I started Clipper more than 15 years ago, and it has been 15 years of fun and challenge. But over the last few months I’ve come to realise that the challenge has gone, and it has just become a responsibility. So I’m passing the baton. And I’m delighted to announce Seth Hillibrand has agreed to pick it up and will be taking over Clipper’s ongoing maintenance and development. Seth is the founder and lead developer of KiCad Services, and has used Clipper almost from the beginning. I’m extremely confident that he has the skills and temperament to see Clipper continue to improve. But Clipper will, however, become a C++ only library; it will be up to third parties to translate Clipper into other languages, or to use it as a dynamic linked library.

Transitioning to the new Clipper2 repository: I suggest that those who have contributed Pull Requests do so again here. And I suggest that those who have raised Issues also resubmit them here or, even better, consider converting them into Pull Requests if you are able to do the debugging.

Finally, as I said above, creating and developing Clipper has been a lot of fun. I have learned so much from you, the library’s users, and from your code contributions. And that has been enormously encouraging. Thank you.

A Polygon Clipping, Offsetting library (in C++, C# & Delphi)   

The Clipper2 library performs intersection, union, difference and XOR boolean operations on both simple and complex polygons. It also performs polygon offsetting. This is a major update of my original Clipper library that was written about 15 years ago. That library I'm now calling Clipper1, and while it still works very well, Clipper2 is just better.

Compilers Clipper2 can be compiled using any one of three supported programming languages: C++, or C#, or Delphi Pascal. The library can also be accessed from other languages by dynamically linking to exported functions in the C++ compiled Clipper2 library. (The C++ compiled code is measurably faster so, where performance is critical, even C# and Delphi developers may prefer this approach in application development.)

Documentation

Extensive HTML documentation

Examples

Clipping

C++ https://github.com/AngusJohnson/Clipper2/blob/fa7add77364eb3877dd1b8caf9b3cbd5486347f6/CPP/Examples/SimpleClipping/SimpleClipping.cpp#L29-L34

C# https://github.com/AngusJohnson/Clipper2/blob/fa7add77364eb3877dd1b8caf9b3cbd5486347f6/CSharp/Clipper2Lib.Examples/ConsoleDemo/Main.cs#L112-L116

Details

多边形裁剪和偏移库

How to install clipper2

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2025-12-19; current version Clipper2_2.0.1, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
Clipper2_2.0.12025-12-19Stable305 KBDownload——
Clipper2_2.0.1_DLLs2025-12-19Stable305 KBDownload——
Clipper2_1.5.42025-06-06Stable1.1 MB———
Clipper2_1.5.4_DLL2025-06-06Stable126 KB———
Clipper2_1.5.3_DLLs2025-05-11Stable126 KB———
Clipper2_1.5.32025-05-11Stable1.1 MB———
Clipper2_1.5.22025-01-27Stable1.1 MB———
Clipper2_1.5.02025-01-24Stable1.1 MB———
Clipper2_1.4.02024-07-13Stable1.1 MB———
Clipper2_1.3.02023-11-28Stable1.1 MB———

Data from GitHub Releases; stable releases first, each group sorted newest first.

Depended on by 3 apps

The following apps install it automatically, ranked by 30-day installs:

Prebuilt bottle platforms

Official Homebrew bottles cover:

  • Apple silicon · latest macOS
  • Apple silicon · macOS 26 Tahoe
  • Apple silicon · macOS 15 Sequoia
  • Apple silicon · macOS 14 Sonoma
  • Intel · macOS 14 Sonoma
  • Linux · ARM64
  • Linux · x86_64

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
clipper2Clipper2_2.0.1BSL-1.0CLI17
openssl@4openssl-4.1.0Apache-2.0CLI494,798
xzv5.8.40BSD AND GPL-2.0-or-laterCLI346,605
pkgconfpkgconf-3.0.10ISCCLI311,054

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…