2 spaceable-element.hh -- declare Spaceable_element
4 source file of the GNU LilyPond music typesetter
6 (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SPACEABLE_ELEMENT_HH
11 #define SPACEABLE_ELEMENT_HH
13 #include "lily-guile.hh"
14 #include "lily-proto.hh"
19 minimum-distances -- list of rods (ie. (OBJ . DIST) pairs)
21 ideal-distances -- (OBJ . (DIST . STRENGTH)) pairs
23 dir-list -- list of stem directions.
25 struct Spaceable_element
27 /// set a minimum distance
28 static void add_rod (Score_element*me, Score_element * to, Real distance);
29 static void add_spring (Score_element*me,Score_element * to, Real dist, Real strength);
30 static void set_interface (Score_element*);
31 static void remove_interface (Score_element*);
32 static SCM get_minimum_distances (Score_element*);
33 static SCM get_ideal_distances (Score_element*);
36 #endif /* SPACEABLE_ELEMENT_HH */