]> git.donarmstrong.com Git - lilypond.git/blobdiff - ps/lily.ps
release: 1.1.7
[lilypond.git] / ps / lily.ps
index 32c75a0f2564748ba541a681bc393e50ef5684d0..6ea6920d23c9d4b469145cac2b4e3e704401f4cf 100644 (file)
@@ -16,7 +16,7 @@
         closepath fill
 } bind def
 
-/draw_decrescendo % cont height width
+/draw_decrescendo % width height cons
 {
        stafflinethickness setlinewidth
        /cresc_cont exch def
@@ -31,7 +31,7 @@
        stroke
 } bind def
 
-/draw_crescendo % cont height width
+/draw_crescendo % width height cons
 {
        stafflinethickness setlinewidth
        /cresc_cont exch def
        stroke
 } bind def
 
+/draw_volta % w last
+{
+       /last exch def
+       /volta_w exch def
+       staffheight 2 div /volta_h exch def
+       volta_t setlinewidth
+       0 0 moveto
+       0 volta_h lineto
+       volta_w volta_h lineto
+       last 0 eq {
+               volta_w 0 lineto
+       } if
+       stroke
+} bind def
+
 /draw_slur
 {
        stafflinethickness setlinewidth