2 spacing-spanner.hh -- declare Spacing_spanner
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SPACING_SPANNER_HH
11 #define SPACING_SPANNER_HH
18 maximum-duration-for-spacing -- rational: space as if a duration of
19 this type is available in this measure.
23 Read properties from paper-column
25 dir-list -- list of stem directions
27 shortest-playing-duration -- duration of the shortest playing in that column.
29 shortest-starter-duration -- duration of the shortest notes that starts
30 exactly in that column.
32 contains-grace -- boolean. Used to widen entries for grace notes.
34 extra-space -- pair of distances
36 stretch-distance -- pair of distances
41 static void set_interface (Score_element*);
42 static void do_measure (Score_element*,Link_array<Score_element>) ;
44 DECLARE_SCHEME_CALLBACK(set_springs, (SCM ));
45 static Real stem_dir_correction (Score_element*,Score_element*,Score_element*) ;
46 static Real default_bar_spacing (Score_element*,Score_element*,Score_element*,Moment) ;
47 static Real note_spacing (Score_element*,Score_element*,Score_element*,Moment) ;
48 static Real get_duration_space (Score_element*,Moment dur, Moment shortest) ;
51 #endif /* SPACING_SPANNER_HH */