2 line-of-score.hh -- part of GNU LilyPond
4 (c) 1996--2000 Han-Wen Nienhuys
10 #include "protected-scm.hh"
11 #include "column-x-positions.hh"
15 The columns of a score that form one line. The toplevel element.
16 Any element has a Line_of_score as both X and Y reference
17 point. The Paper_score contains one element of this type. Control
18 enters the Score_element dependency calculation from this single
24 all-elements -- list of all score elements in this line. Needed
25 for protecting elements from GC.
27 columns -- list of all paper columns
30 class Line_of_score : public Spanner
35 void post_processing();
40 Protected_scm output_;
43 /// is #c# contained in #*this#?
44 bool contains_b (Paper_column const *c) const;
45 int element_count () const;
47 void break_into_pieces (Array<Column_x_positions> const&);
50 Link_array<Item> broken_col_range (Item const*, Item const*) const;
51 Link_array<Paper_column> column_l_arr () const;
53 void add_column (Paper_column*);
54 void typeset_element (Score_element*);
55 void output_molecule (SCM, Offset);
56 void output_scheme (SCM);
57 void pre_processing ();
59 VIRTUAL_COPY_CONS(Score_element);