]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spacing-spanner.hh
release: 1.3.109
[lilypond.git] / lily / include / spacing-spanner.hh
1 /*   
2   spacing-spanner.hh -- declare Spacing_spanner
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef SPACING_SPANNER_HH
11 #define SPACING_SPANNER_HH
12
13 #include "spanner.hh"
14
15 class Spacing_spanner
16 {
17 public:
18   static void set_interface (Grob*);
19   static void do_measure (Grob*,Link_array<Grob>) ;
20
21   DECLARE_SCHEME_CALLBACK(set_springs, (SCM ));
22   static Real stem_dir_correction (Grob*,Grob*,Grob*)  ;
23   static Real default_bar_spacing (Grob*,Grob*,Grob*,Moment)  ;
24   static Real note_spacing (Grob*,Grob*,Grob*,Moment)  ;
25   static Real get_duration_space (Grob*,Moment dur, Moment shortest) ;
26 };
27
28 #endif /* SPACING_SPANNER_HH */
29