]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-svg.scm
Web&CG: remove "projects" from HelpUs
[lilypond.git] / scm / output-svg.scm
index eaff36294263541245257708998c036dca08fd9c..9f10629eacf7a6f2a3f4fc913aaa5ff3ee9a65a3 100644 (file)
     `(points . ,(string-join
                  (map offset->point (ly:list->offsets '() coords))))))
 
-(define (repeat-slash width slope thickness)
-  (define (euclidean-length x y)
-    (sqrt (+ (* x x) (* y y))))
-  (let* ((x-width (euclidean-length thickness (/ thickness slope)))
-        (height (* width slope)))
-    (entity
-      'path ""
-      '(fill . "currentColor")
-      `(d . ,(ly:format "M0 0l~4f 0 ~4f ~4f ~4f 0z"
-                       x-width width (- height) (- x-width))))))
-
 (define (resetcolor)
   "</g>\n")