]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
92a2b24719eb6b4efe76ae54b1895aff79150de8
[lilypond.git] / lily / include / tie.hh
1 /*
2   tie.hh -- declare Tie
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef TIE_HH
11 #define TIE_HH
12
13 #include "spanner.hh"
14 #include "rod.hh"
15
16 /**
17   Connect two noteheads.
18   */
19 class Tie : public Spanner
20 {
21 public:
22   Tie (SCM);
23   void set_head (Direction, Item*head_l);
24   VIRTUAL_COPY_CONS(Score_element);
25
26   Rhythmic_head* head (Direction) const;
27   Real position_f () const;
28   static SCM brew_molecule (SCM);
29   Direction get_default_dir() const;
30   SCM member_brew_molecule () const;
31   Array<Offset> get_encompass_offset_arr () const;
32   Bezier get_curve () const;
33
34   /*
35     JUNKME
36    */
37   Drul_array<Real> dy_f_drul_;
38   Drul_array<Real> dx_f_drul_;
39
40   virtual void do_add_processing ();
41   SCM member_after_line_breaking ();
42   static SCM after_line_breaking (SCM);
43
44   virtual Array<Rod> get_rods () const;
45
46   Array<Offset> get_controls () const;
47 };
48
49 #endif // TIE_HH