Port of the Clipper class from javagraphics.net to NoAwt