]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
c47a93306c6cc40f99b477772a5a9237111bdab1
[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--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef TIE_HH
10 #define TIE_HH
11
12 #include "lily-proto.hh"
13 #include "skyline.hh"
14 #include "grob-interface.hh"
15
16
17   
18
19 class Tie
20 {
21 public:
22   static void set_head (Grob *, Direction, Grob *head);
23   DECLARE_GROB_INTERFACE();
24   static Grob *head (Grob *, Direction);
25   static int get_column_rank (Grob *, Direction);
26   static int get_position (Grob *);
27   static Direction get_default_dir (Grob *);  
28   static SCM get_control_points (Grob *, Grob *,
29                                  Tie_configuration const&,
30                                  Tie_details const&);
31   static SCM get_default_control_points (Grob *);
32   DECLARE_SCHEME_CALLBACK (print, (SCM));
33   DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
34   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
35   DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM));
36   static bool less (Grob *const &s1,
37                     Grob *const &s2);
38 };
39
40
41 #endif // TIE_HH