]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-spacing.hh
Clean up spring stuff.
[lilypond.git] / lily / include / staff-spacing.hh
1 /*
2   staff-spacing.hh -- declare Staff_spacing
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2001--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef STAFF_SPACING_HH
10 #define STAFF_SPACING_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14 #include "spring.hh"
15
16 class Staff_spacing
17 {
18   static Real optical_correction (Grob *, Grob *, Interval);
19   static Real left_stickout (Grob *, Grob *);
20   static Real next_notes_correction (Grob *, Grob *, Real, Real);
21
22 public:
23   DECLARE_GROB_INTERFACE();
24   static Spring get_spacing_params (Grob *);
25   static Interval bar_y_positions (Grob *);
26 };
27
28 #endif /* STAFF_SPACING_HH */