2 scoreline.hh -- part of GNU LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
11 #include "spanner-elem-group.hh"
12 #include "vertical-align-elem.hh"
14 /// the columns of a score that form one line.
15 class Line_of_score : public Spanner, public Vertical_align_elem {
17 Link_array<PCol> cols;
19 virtual String TeX_string() const;
25 void add(Score_elem *);
27 /// is #c# contained in #*this#?
28 bool contains_b(PCol const *c)const;
29 bool contains_b(Score_elem const*e) const {
30 return Vertical_align_elem::contains_b(e);
33 Link_array<Line_of_score> get_lines()const;
34 void set_breaking(Array<Col_hpositions> const&);
37 virtual void break_into_pieces();
38 virtual void do_substitute_dependency(Score_elem*,Score_elem*);
39 virtual Interval do_width()const;
40 virtual void do_print() const;
41 SCORE_ELEM_CLONE(Line_of_score);