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);
40 * junk these after spacing is done.
42 * Put these in Scheme.
46 Array<Column_rod> minimal_dists_;
47 Array<Column_spring > springs_;
51 Not (yet) in scm, because of messy effects when a column commits suicide.
54 /// set a minimum distance
55 void add_rod (Paper_column * to, Real distance);
56 void add_spring (Paper_column * to, Real dist, Real strength);
58 virtual Paper_column *column_l () const;
59 virtual Line_of_score *line_l () const;
61 /// if lines are broken then this column is in #line#
62 Line_of_score *line_l_;
64 /// which one (left =0)
65 static int rank_i(Score_element*);
68 Moment when_mom ()const;
70 bool musical_b () const;