draw paths in stretches of 100 points to avoid the severe decrease in performance that may occur if long paths are draw
Merge pull request #1816 from mdehoon/master

Avoid macosx backend slowdown; issue 1563