]> git.donarmstrong.com Git - lilypond.git/commitdiff
SVG backend: nitpick: use unary negation
authorPatrick McCarty <pnorcks@gmail.com>
Sat, 1 Aug 2009 23:44:22 +0000 (16:44 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Sat, 1 Aug 2009 23:44:22 +0000 (16:44 -0700)
scm/output-svg.scm

index 11223df43d12396af8fb6f524b47ee6717e71bb9..c916067bdfa38986141752fb193873d6af62e54f 100644 (file)
 ;; rotate around given point
 (define (setrotation ang x y)
   (ly:format "<g transform=\"rotate(~4f, ~4f, ~4f)\">\n"
-            (* -1 ang) x (* -1 y)))
+            (- ang) x (- y)))
 
 (define (text font string)
   (dispatch `(fontify ,font ,(entity 'tspan (string->entities string)))))