Add support for surface pattern. #156

Merged
merged 2 commits into from May 15, 2015