3 line-of-score.hh -- part of GNU LilyPond
5 (c) 1996--2005 Han-Wen Nienhuys
11 #include "column-x-positions.hh"
13 #include "grob-array.hh"
16 If you keep following offset reference points, you will always end
17 up at the root object. This root object is called @ref{System}, and it
18 represents a system (i.e. a line of music).
20 class System : public Spanner
23 Grob_array *all_elements_;
24 void init_elements ();
26 int get_rank () const;
27 void post_processing ();
28 SCM get_paper_system ();
29 SCM get_paper_systems ();
31 System (SCM, Object_key const *);
32 System (System const &, int);
34 int element_count () const;
35 int spanner_count () const;
37 void break_into_pieces (Array<Column_x_positions> const &);
38 static bool has_interface (Grob *);
40 Link_array<Item> broken_col_range (Item const *, Item const *) const;
41 Link_array<Grob> columns () const;
43 void add_column (Paper_column *);
44 void typeset_grob (Grob *);
45 void pre_processing ();
48 virtual void derived_mark () const;
49 virtual Grob *clone (int count) const;
52 void set_loose_columns (System *which, Column_x_positions const *posns);
54 #endif /* SYSTEM_HH */