2 paper-column.hh -- declare Paper_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
18 stuff grouped vertically.
19 This is a class to address items vertically. It contains the data for:
26 the linespacing problem
30 class Paper_column : public Item
33 VIRTUAL_COPY_CONS(Score_element);
34 Drul_array<Array<Column_rod> > minimal_dists_arr_drul_;
35 Drul_array<Array<Column_spring> > spring_arr_drul_;
37 /// set a minimum distance
38 void add_rod (Paper_column * to, Real distance);
39 void add_spring (Paper_column * to, Real dist, Real strength);
41 virtual Paper_column * column_l () const;
42 virtual Line_of_score *line_l () const;
45 /// if lines are broken then this column is in #line#
46 Line_of_score *line_l_;
49 /// which one (left =0)
52 Paper_column (Moment when);
53 Moment when_mom ()const;
55 bool musical_b () const;
58 virtual void do_print() const;
62 The ranking: left is smaller than right
70 // #include "compare.hh"
71 // INSTANTIATE_COMPARE(Paper_column &, Paper_column::compare);