2 paper-score.hh -- declare Paper_score
4 source file of the GNU LilyPond music typesetter
6 (c) 1996--2004 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.
24 class Paper_score : public Music_output
26 Protected_scm main_smob_;
30 /* Vector with lines of stencils. */
33 Stencil *score_title_;
35 Paper_outputter *outputter_;
41 @return index of argument.
43 int find_col_idx (Paper_column const *) const;
45 Link_array<Item> broken_col_range (Item const*,Item const*) const;
46 void typeset_line (System*);
51 virtual void process (String);
53 /// before calc_breaking
55 void calc_idealspacing ();
56 /// calculate where the lines are to be broken, and use results
57 Array<Column_x_positions> calc_breaking ();
59 /// after calc_breaking
61 Paper_score (Paper_score const &);