Clipping Paths

Clipping paths allow you to control where drawing occurs by providing a path in which to limit future drawing operations. Since you can create arbitrary shapes with CGMutablePath (and UIBezierPath) this can be an essential technique to get the drawing effect in some situations.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/285-core-graphics-clipping-paths