]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-of-score.hh
release: 1.5.29
[lilypond.git] / lily / include / line-of-score.hh
1 /*
2   line-of-score.hh -- part of GNU LilyPond
3
4   (c) 1996--2002 Han-Wen Nienhuys
5 */
6
7 #ifndef SCORELINE_HH
8 #define SCORELINE_HH
9
10 #include "protected-scm.hh" 
11 #include "column-x-positions.hh"
12 #include "spanner.hh"
13
14 class Line_of_score : public Spanner
15 {
16 public:
17   int rank_i_;
18   void post_processing (bool);
19
20   Line_of_score (SCM);
21   /// is #c# contained in #*this#?
22   bool contains_b (Paper_column const *c) const;
23   int element_count () const;
24
25   void break_into_pieces (Array<Column_x_positions> const&);
26   void output_lines ();
27
28   Link_array<Item> broken_col_range (Item const*, Item const*) const;
29   Link_array<Grob> column_l_arr () const;
30   
31   void add_column (Paper_column*);
32   void typeset_grob (Grob*);
33   void output_molecule (SCM, Offset);
34   void output_scheme (SCM);
35   void pre_processing ();
36 protected:
37   VIRTUAL_COPY_CONS (Grob);
38 };
39
40 #endif
41