clipper2 for Mac
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
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2025-12-19; current version Clipper2_2.0.1, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| Clipper2_2.0.1 | 2025-12-19 | Stable | 305 KB | Download | — | — |
| Clipper2_2.0.1_DLLs | 2025-12-19 | Stable | 305 KB | Download | — | — |
| Clipper2_1.5.4 | 2025-06-06 | Stable | 1.1 MB | — | — | — |
| Clipper2_1.5.4_DLL | 2025-06-06 | Stable | 126 KB | — | — | — |
| Clipper2_1.5.3_DLLs | 2025-05-11 | Stable | 126 KB | — | — | — |
| Clipper2_1.5.3 | 2025-05-11 | Stable | 1.1 MB | — | — | — |
| Clipper2_1.5.2 | 2025-01-27 | Stable | 1.1 MB | — | — | — |
| Clipper2_1.5.0 | 2025-01-24 | Stable | 1.1 MB | — | — | — |
| Clipper2_1.4.0 | 2024-07-13 | Stable | 1.1 MB | — | — | — |
| Clipper2_1.3.0 | 2023-11-28 | Stable | 1.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.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| clipper2 | Clipper2_2.0.1 | BSL-1.0 | CLI | 17 |
| openssl@4 | openssl-4.1.0 | Apache-2.0 | CLI | 494,798 |
| xz | v5.8.4 | 0BSD AND GPL-2.0-or-later | CLI | 346,605 |
| pkgconf | pkgconf-3.0.10 | ISC | CLI | 311,054 |
Similar apps: Command-line Tools
openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…node
Node.js is an open-source, cross-platform JavaScript runtime environment.gh
GitHub command-line toolcmake
CMake is a cross-platform, open-source build system generator.Categories: Command-line Tools