Add methods to allow clipping to rectangles.

This is much faster than creating a path.

r? @metajack