]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-svg.scm
Allow "closepath" in 'path stencil expressions
[lilypond.git] / scm / output-svg.scm
index 6076bdaa72ac0b981d986664c6671d4951295a40..1963728eba156bcba667f31dbccb1bdc0e9f5a96 100644 (file)
           (arity
             (cond ((memq head '(rmoveto rlineto lineto moveto)) 2)
                   ((memq head '(rcurveto curveto)) 6)
+                  ((eq? head 'closepath) 0)
                   (else 1)))
           (args (take rest arity))
           (svg-head (assoc-get head
                                  (curveto . C)
                                  (moveto . M)
                                  (lineto . L)
-                                 (rlineto . l))
+                                 (rlineto . l)
+                                 (closepath . z))
                                "")))
 
          (cons (format "~a~a"