]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/page-spacing-result.hh
7dc43d05f6c913f3c506db4518b03c10d8e7d1bb
[lilypond.git] / lily / include / page-spacing-result.hh
1 /* 
2   page-spacing-result.hh -- declare  Page_spacing_result
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 2007 Han-Wen Nienhuys <hanwen@lilypond.org>
7   
8 */
9
10 #ifndef PAGE_SPACING_RESULT_HH
11 #define PAGE_SPACING_RESULT_HH
12
13 #include "std-vector.hh"
14 #include "lily-proto.hh"
15
16 struct Page_spacing_result {
17   vector<vsize> systems_per_page_;
18   vector<Real> force_;
19   Real penalty_;
20   Real demerits_;
21
22   Real average_force () const;
23   vsize page_count () const;
24   vsize system_count () const;
25   void print () const;  
26   Page_spacing_result ();
27 };
28
29 #endif /* PAGE_SPACING_RESULT_HH */