2 tie-configuration.hh -- declare Tie_configuration
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
10 #ifndef TIE_CONFIGURATION_HH
11 #define TIE_CONFIGURATION_HH
13 #include "lily-proto.hh"
14 #include "direction.hh"
15 #include "interval.hh"
17 #include "std-vector.hh"
19 class Tie_configuration
27 Interval attachment_x_;
30 void center_tie_vertically (Tie_details const &);
31 Bezier get_transformed_bezier (Tie_details const &) const;
32 Bezier get_untransformed_bezier (Tie_details const &) const;
33 Real height (Tie_details const&) const;
35 static int compare (Tie_configuration const &a,
36 Tie_configuration const &b);
37 static Real distance (Tie_configuration const &a,
38 Tie_configuration const &b);
41 INSTANTIATE_COMPARE (Tie_configuration, Tie_configuration::compare);
43 typedef vector<Tie_configuration> Ties_configuration;
45 #endif /* TIE_CONFIGURATION_HH */