Haxe port of Antigrain Geometry library