2 slur-configuration.hh -- declare Slur_configuration
4 source file of the GNU LilyPond music typesetter
6 (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef SLUR_CONFIGURATION_HH
10 #define SLUR_CONFIGURATION_HH
13 #include "lily-proto.hh"
14 #include "std-vector.hh"
17 enum Configuration_tag
22 SLUR_FREE_HEAD = 0x08,
23 SLUR_FREE_STEM = 0x10,
27 class Slur_configuration
33 Drul_array<Offset> attachment_;
39 Slur_configuration ();
41 Real score () const { return score_; }
42 string card () const { return score_card_; }
43 void add_score (Real, string);
45 void generate_curve (Slur_score_state const &state, Real r0, Real h_inf,
46 vector<Offset> const &);
47 void calculate_score (Slur_score_state const &);
49 void score_extra_encompass (Slur_score_state const &);
50 void score_slopes (Slur_score_state const &);
51 void score_edges (Slur_score_state const &);
52 void score_encompass (Slur_score_state const &);
55 #endif /* SLUR_CONFIGURATION_HH */