]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-svg.scm
Adds an ID property to grobs.
[lilypond.git] / scm / output-svg.scm
index 5d1c09c99d5fa2ddc554072b5f5e38f80c1628f8..27b6118483ccdb05cfcb1fce79e805a037637d2f 100644 (file)
   "c = close"
   (format #f "</~S>\n" entity))
 
+(define (start-enclosing-id-node s)
+  (string-append "<g id=\"" s "\">\n"))
+
+(define (end-enclosing-id-node)
+  "</g>\n")
+
 (define-public (comment s)
   (string-append "<!-- " s " -->\n"))