To cut off the portion of a displayed image that lies beyond a certain boundary, such as the edge of a window or a bounding box.