Clipper - an open source freeware polygon clipping library (origin at http://www.angusj.com/delphi/clipper.php)