]> git.donarmstrong.com Git - lilypond.git/commitdiff
SVG backend: optimize path data for oval
authorPatrick McCarty <pnorcks@gmail.com>
Tue, 28 Jul 2009 20:09:18 +0000 (13:09 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Tue, 28 Jul 2009 20:30:38 +0000 (13:30 -0700)
scm/output-svg.scm

index 3d76a482d73c2acf24768d02003b37528d529f7d..b8ca001c717edb34168e9d4196f2bc18efa5b405 100644 (file)
      `(fill . ,(if is-filled "currentColor" "none"))
      `(stroke . "currentColor")
      `(stroke-width . ,thick)
-     `(d . ,(ly:format "M~4f,~4f C~4f,~4f  ~4f,~4f ~4f,~4f S~4f,~4f ~4f,~4f"
+     `(d . ,(ly:format "M~4f ~4fC~4f ~4f ~4f ~4f ~4f ~4fS~4f ~4f ~4f ~4fz"
                x-max 0
                x-max y-max
                x-min y-max