]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-score.hh
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / lily / include / paper-score.hh
1 /*
2   paper-score.hh -- declare Paper_score
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef PAPER_SCORE_HH
10 #define PAPER_SCORE_HH
11
12 #include "column-x-positions.hh"
13 #include "music-output.hh"
14
15 /* LAYOUT output */
16 class Paper_score : public Music_output
17 {
18 public:
19   Output_def *layout_;
20   System *system_;
21
22   Paper_score ();
23
24   int find_col_idx (Paper_column const *) const;
25   Link_array<Item> broken_col_range (Item const*, Item const*) const;
26   void typeset_line (System*);
27   void output ();
28
29 protected:
30   virtual SCM process (String);
31
32 private:
33   Protected_scm systems_;
34
35   void preprocess ();
36   void calc_idealspacing ();
37   Array<Column_x_positions> calc_breaking ();
38   void postprocess ();
39   Paper_score (Paper_score const &);
40 };
41
42 #endif /* PAPER_SCORE_HH */