Arbitrary polygon clipping