]> git.donarmstrong.com Git - lilypond.git/commitdiff
Gets rid of dashed-slur stencil command
authorMike Solomon <mike@apollinemike.com>
Mon, 6 Feb 2012 13:54:24 +0000 (14:54 +0100)
committerMike Solomon <mike@apollinemike.com>
Mon, 6 Feb 2012 13:54:24 +0000 (14:54 +0100)
ps/music-drawing-routines.ps
scm/define-stencil-commands.scm
scm/output-ps.scm

index 06c13648738254d3b5f60438eed59655a1c92a94..7d491e56885128b320a0073d820c26c58454c489 100644 (file)
@@ -280,21 +280,6 @@ bind def
        [] 0 setdash % reset dash pattern
 } bind def
 
-/draw_dashed_slur % controls thickness dash
-{
-gsave
-       currentpoint translate
-       1 setlinecap
-       1 setlinejoin
-       setdash
-       setlinewidth
-       8 2 roll
-       moveto
-       curveto
-       stroke
-grestore
-} bind def
-
 /print_glyphs % w dx dy glyph print_glyphs
 {
        {
index 9b7537393228eba36dd8985c60cc78bc8b4add6c..3e022f9678f30a134dd7aa0c8ee98b401cbce1c2 100644 (file)
@@ -26,7 +26,6 @@ defined in the output modules (@file{output-*.scm})."
     char
     circle
     dashed-line
-    dashed-slur
     dot
     draw-line
     ellipse
index 0b4405072ea2a6edc370e8ca140a327c59cf4dfe..c4a15c52532ab34f65d6397253bca74aae0a84ca 100644 (file)
    off
    phase))
 
-;; what the heck is this interface ?
-(define (dashed-slur thick on off l)
-  (ly:format "~l ~4f [ ~4f ~4f ] 0 draw_dashed_slur"
-         (let ((control-points (append (cddr l) (list (car l) (cadr l)))))
-           (map number-pair->string4 control-points))
-         thick
-         on
-         off))
-
 (define (dot x y radius)
   (ly:format " ~4l draw_dot" (list radius x y)))