X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Farpeggio.cc;h=89bb54f677ae8d097f9f72fb61885e879d1f14b8;hb=abb835d326838ab293c99434c5af29015d1e432a;hp=22351d3b13f3d56a8d640dc730737d2b39d58b31;hpb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;p=lilypond.git diff --git a/lily/arpeggio.cc b/lily/arpeggio.cc index 22351d3b13..89bb54f677 100644 --- a/lily/arpeggio.cc +++ b/lily/arpeggio.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2000--2007 Jan Nieuwenhuizen + (c) 2000--2009 Jan Nieuwenhuizen */ #include "arpeggio.hh" @@ -153,6 +153,7 @@ SCM Arpeggio::brew_chord_slur (SCM smob) { Grob *me = unsmob_grob (smob); + SCM dash_definition = me->get_property ("dash-definition"); Interval heads = robust_scm2interval (me->get_property ("positions"), Interval()) * Staff_symbol_referencer::staff_space (me); @@ -165,7 +166,7 @@ Arpeggio::brew_chord_slur (SCM smob) Bezier curve = slur_shape (dy, height_limit, ratio); curve.rotate (M_PI / 2); - Stencil mol (Lookup::slur (curve, lt, lt)); + Stencil mol (Lookup::slur (curve, lt, lt, dash_definition)); mol.translate_axis (heads[LEFT], Y_AXIS); return mol.smobbed_copy (); } @@ -203,13 +204,13 @@ Arpeggio::pure_height (SCM smob, SCM, SCM) } ADD_INTERFACE (Arpeggio, - "Functions and settings for drawing an arpeggio symbol (a" - " wavy line left to noteheads.", + "Functions and settings for drawing an arpeggio symbol.", /* properties */ "arpeggio-direction " "positions " "script-priority " // TODO: make around-note-interface "stems " + "dash-definition " // TODO: make apply to non-slur arpeggios );