The rules by which the PM implements clipping are as follows:
When a primitive crosses a clipping boundary, any part outside the boundary is discarded.
When a primitive crosses a clipping boundary, any part within the boundary is retained.
When the clipping boundary is a clipping region, any point on the top or right boundaries of a rectangle is discarded; and any point on the bottom or left boundaries of a rectangle, that is not on the right or top boundaries also, is included in the region.