2 paper-score.hh -- declare Paper_score
4 source file of the GNU LilyPond music typesetter
6 (c) 1996--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "column-x-positions.hh"
15 #include "lily-proto.hh"
16 #include "music-output.hh"
17 #include "lily-guile.hh"
18 #include "protected-scm.hh"
20 /** all stuff which goes onto paper. notes, signs, symbols in a score
21 #Paper_score# contains the items, the columns.
25 class Paper_score : public Music_output
27 SCM element_smob_list_;
31 Paper_outputter *outputter_l_;
32 Line_of_score * line_l_;
37 @return index of argument.
39 int find_col_idx (Paper_column const *) const;
41 Link_array<Item> broken_col_range (Item const*,Item const*) const;
44 void typeset_line (Line_of_score*);
48 virtual void process();
51 /// before calc_breaking
53 void calc_idealspacing();
54 /// calculate where the lines are to be broken, and use results
55 Array<Column_x_positions> calc_breaking();
57 /// after calc_breaking
59 Paper_score (Paper_score const &);