lilypond-1.5.10
[lilypond.git] / lily / include / idealspacing.hh
blob3e9585d145f3a41dc95a58fa0e1657c2a0b98c06
1 /*
2 idealspacing.hh -- part of GNU LilyPond
4 (c) 1996--2000 Han-Wen Nienhuys
5 */
7 #ifndef IDEALSPACING_HH
8 #define IDEALSPACING_HH
9 #include "lily-proto.hh"
10 #include "drul-array.hh"
12 /// ideal spacing between two columns
13 struct Idealspacing {
15 /// the ideal distance
16 Real space_f_;
18 /// Hooke's constant: how strong are the "springs" attached to columns
19 Real hooke_f_;
21 /// the two columns
22 Drul_array<int> cols_drul_;
24 Idealspacing();
28 #endif // IDEALSPACING_HH