2 rod.cc -- implement Rod, Column_rod
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "paper-column.hh"
12 #include "dimensions.hh"
13 #include "separation-item.hh"
19 item_l_drul_
[LEFT
] = item_l_drul_
[RIGHT
] =0;
23 Column_rod::Column_rod ()
34 Paper_column
* pc
= item_l_drul_
[d
]->column_l ();
35 distance_f_
+= - d
* item_l_drul_
[d
]->relative_coordinate (pc
, X_AXIS
);
37 } while ((flip (&d
))!=LEFT
);
45 if (item_l_drul_
[LEFT
] != item_l_drul_
[RIGHT
])
46 dynamic_cast<Paper_column
*> (item_l_drul_
[LEFT
])->
47 add_rod(dynamic_cast<Paper_column
*>(item_l_drul_
[RIGHT
]), distance_f_
);