svg-path->points: minor change to reduce redundancy