2 col-info.cc -- implement Column_info
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "paper-column.hh"
10 #include "col-info.hh"
14 Column_info::print() const
19 DOUT
<< "fixed at " << fixed_position() << ", ";
24 for (int i
=0; i
< rods_
[d
].size (); i
++)
26 } while (flip (&d
) != LEFT
);
32 Column_info::Column_info (Paper_column
*col_l
, Real
const *fixed_C
)
35 fixpos_p_
.set_l (fixed_C
);
37 width_
= pcol_l_
->extent(X_AXIS
);
39 width_
= Interval(0,0);
43 Column_info::Column_info()
49 Column_info::fixed_b () const
51 return fixpos_p_
.get_C();
55 Column_info::fixed_position () const
61 Column_info::rank_i () const
63 return pcol_l_
->rank_i ();
67 Spacer_rod::print ()const
69 DOUT
<< "Other " << other_idx_
<< "dist = " << distance_f_
<< '\n';