2 tie-helper.cc -- implement Tie_configuration, Tie_details
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
13 #include "staff-symbol-referencer.hh"
15 #include "tie-formatting-problem.hh"
18 Tie_details::from_grob (Grob *me)
20 staff_symbol_referencer_ = me;
21 staff_space_ = Staff_symbol_referencer::staff_space (me);
22 SCM details = me->get_property ("details");
24 height_limit_ = robust_scm2double (ly_assoc_get (ly_symbol2scm ("height-limit"), details, SCM_EOL),
27 ratio_ = robust_scm2double (ly_assoc_get (ly_symbol2scm ("ratio"), details, SCM_EOL),
30 x_gap_ = robust_scm2double (me->get_property ("x-gap"), 0.2);
32 = robust_scm2double (ly_assoc_get (ly_symbol2scm ("between-length-limit"), details, SCM_EOL),
37 Tie_details::Tie_details ()