]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-svg.scm
Markup command name changes.
[lilypond.git] / scm / output-svg.scm
index 8a8960e6d339b1fb04d9fa33a042f7d60e739af8..93b27a68b11dddfecc1514a0fb666487cc2bde19 100644 (file)
    `(stroke-width . ,thick)
    `(r . ,radius)))
 
+(define (ellipse x-radius y-radius thick is-filled)
+  (entity
+   'ellipse ""
+   '(stroke-linejoin . "round")
+   '(stroke-linecap . "round")
+   `(fill . ,(if is-filled "currentColor" "none"))
+   `(stroke . "currentColor")
+   `(stroke-width . ,thick)
+   `(rx . ,x-radius)
+   `(ry . ,y-radius)))
+
 (define (text font string)
   (dispatch `(fontify ,font ,(entity 'tspan (string->entities string)))))