]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-spacing.hh
introduce Spacing_interface for code sharing between Note_spacing and Staff_spacing
[lilypond.git] / lily / include / note-spacing.hh
1 /*
2   note-spacing.hh -- declare Note_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 NOTE_SPACING_HH
10 #define NOTE_SPACING_HH
11
12 #include "grob-interface.hh"
13 #include "lily-proto.hh"
14
15 class Note_spacing
16 {
17 public:
18   DECLARE_GROB_INTERFACE();
19
20   static void get_spacing (Grob *me, Item *, Real, Real, Real *, Real *);
21   static void stem_dir_correction (Grob *me, Item *next_col, Real incr,
22                                    Real *, Real *);
23 };
24
25 #endif /* NOTE_SPACING_HH */