]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spacing-spanner.hh
f7a43ccd2ba5d71f3f4880febea64e387dd46335
[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--2001 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 #include "spring.hh"
15
16 class Spacing_spanner
17 {
18 public:
19   static void set_interface (Grob*);
20   static void do_measure (Grob*,Link_array<Grob> const &) ;
21   static void stretch_to_regularity (Grob*, Array<Spring> *, Link_array<Grob> const &);
22   DECLARE_SCHEME_CALLBACK (set_springs, (SCM ));
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