[General Polygon Clipper](https://en.wikipedia.org/wiki/General_Polygon_Clipper) is a library for doing "boolean" operations on 2D polygons. GPC is written in C.
Abruptly ceased being distributed and licensed by its developer in 2020 for unknown reasons. The licensing manager [declared it](https://twitter.com/tobyhoward/status/1473722153849786381) as public domain thereafter.
# Notability
Used by [[GUI - Anti-Grain Geometry]].
Used by Paint.NET.
# Forks
Old Website with downloads available of the original code which can be relicensed at will.
```cardlink
url: https://web.archive.org/web/20180401142634/http://www.cs.man.ac.uk/~toby/alan/software/
title: "GPC General Polygon Clipper library from The University of Manchester"
host: web.archive.org
```
Version 2.32 uploaded under GPL:
```cardlink
url: https://github.com/lguez/GPC
title: "GitHub - lguez/GPC: General Polygon Clipper"
description: "General Polygon Clipper. Contribute to lguez/GPC development by creating an account on GitHub."
host: github.com
favicon: https://github.githubassets.com/favicons/favicon.svg
image: https://opengraph.githubassets.com/1a61e1c5441526029c9fb8605b8f16fd97c30311053c0e992c72c18d32979446/lguez/GPC
```
Version 2.33 uploaded by Paint.NET developer under [[MIT License]] and frozen:
```cardlink
url: https://github.com/rickbrew/GeneralPolygonClipper
title: "GitHub - rickbrew/GeneralPolygonClipper: General Polygon Clipper, aka GPC, version 2.33"
description: "General Polygon Clipper, aka GPC, version 2.33. Contribute to rickbrew/GeneralPolygonClipper development by creating an account on GitHub."
host: github.com
favicon: https://github.githubassets.com/favicons/favicon.svg
image: https://opengraph.githubassets.com/b649b5151c71582df1a71427be54dc4e5b9a5e053e7dabf1912a5f6c0bdca724/rickbrew/GeneralPolygonClipper
```
Version 2.33 uses `fscanf_s` which may not be available in all C implementations.