]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie-formatting-problem.hh
* lily/include/tie-formatting-problem.hh (class
[lilypond.git] / lily / include / tie-formatting-problem.hh
1 /*
2   tie-formatting-problem.hh -- declare
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef TIE_FORMATTING_PROBLEM_HH
11 #define TIE_FORMATTING_PROBLEM_HH
12
13 #include "drul-array.hh"
14 #include "parray.hh"
15 #include "skyline.hh"
16 #include "lily-proto.hh"
17
18 class Tie_formatting_problem
19 {
20   Drul_array< Array<Skyline_entry> > chord_outlines_;
21   Grob *x_refpoint_;
22 public:
23   Tie_formatting_problem ();
24
25   void from_ties (Link_array<Grob> const &ties);
26   void from_tie (Grob *tie);
27   void from_lv_ties (Link_array<Grob> const &);
28   void set_chord_outline (Link_array<Item>, Direction);
29
30   Interval get_attachment (Real) const;
31   Grob *common_x_refpoint () const;
32 };
33
34 #endif /* TIE_FORMATTING_PROBLEM_HH */