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