Fixes to documentation, also re-ordering parameters for patterns. Small
bugfix to clipping paths.