]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spaceable-grob.hh
Merge with git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond.git
[lilypond.git] / lily / include / spaceable-grob.hh
1 /*
2   spaceable-grob.hh -- declare Spaceable_grob
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef SPACEABLE_GROB_HH
10 #define SPACEABLE_GROB_HH
11
12 #include "lily-guile.hh"
13 #include "lily-proto.hh"
14
15 struct Spaceable_grob
16 {
17   /// set a minimum distance
18   static void add_rod (Grob *me, Grob *to, Real distance);
19   static void add_spring (Grob *me, Grob *to, Real dist, Real strength);
20   static void get_spring (Grob *me, Grob *other, Real *dist, Real *inv_strength);
21
22   static bool has_interface (Grob *);
23   static void remove_interface (Grob *);
24   static SCM get_minimum_distances (Grob *);
25   static SCM get_ideal_distances (Grob *);
26 };
27
28 #endif /* SPACEABLE_GROB_HH */
29