Correct left text alignment of DynamicTextSpanner.
[lilypond.git] / lily / include / page-spacing-result.hh
blob7dc43d05f6c913f3c506db4518b03c10d8e7d1bb
1 /*
2 page-spacing-result.hh -- declare Page_spacing_result
4 source file of the GNU LilyPond music typesetter
6 (c) 2007 Han-Wen Nienhuys <hanwen@lilypond.org>
8 */
10 #ifndef PAGE_SPACING_RESULT_HH
11 #define PAGE_SPACING_RESULT_HH
13 #include "std-vector.hh"
14 #include "lily-proto.hh"
16 struct Page_spacing_result {
17 vector<vsize> systems_per_page_;
18 vector<Real> force_;
19 Real penalty_;
20 Real demerits_;
22 Real average_force () const;
23 vsize page_count () const;
24 vsize system_count () const;
25 void print () const;
26 Page_spacing_result ();
29 #endif /* PAGE_SPACING_RESULT_HH */