]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
release: 1.3.69
[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   static void set_head (Score_element*,Direction, Item*head_l);
24   static void set_interface (Score_element*);
25   static bool has_interface (Score_element*);
26   VIRTUAL_COPY_CONS(Score_element);
27   static Score_element * head (Score_element*,Direction) ;
28   static Real position_f (Score_element*) ;
29   static SCM brew_molecule (SCM);
30   static Direction get_default_dir(Score_element*) ;
31   static SCM after_line_breaking (SCM);
32
33
34   /*
35     JUNKME
36    */
37   Array<Offset> get_encompass_offset_arr () const;
38   Bezier get_curve () const;
39   Drul_array<Real> dy_f_drul_;
40   Drul_array<Real> dx_f_drul_;
41   virtual Array<Rod> get_rods () const;
42   Array<Offset> get_controls () const;
43 };
44
45 #endif // TIE_HH