(cond
((memq head '(rmoveto rlineto lineto moveto)) 2)
((memq head '(rcurveto curveto)) 6)
+ ((eq? head 'closepath) 0)
(else 1)))
(args (take rest arity))
)
(ly:format
- "1 setlinecap ~a setlinewidth\n~l stroke"
+ "gsave currentpoint translate 1 setlinecap ~a setlinewidth\n~l stroke grestore"
thickness
- (convert-path-exps exps) ))
+ (convert-path-exps exps)))