would not it be easier just intersect clipping rectangles?