2 rod.cc -- implement Rod, Column_rod
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
11 #include "paper-column.hh"
13 #include "dimensions.hh"
14 #include "spaceable-grob.hh"
19 item_drul_
[LEFT
] = item_drul_
[RIGHT
] = 0;
26 || !item_drul_
[RIGHT
])
32 Paper_column
*pc
= item_drul_
[d
]->get_column ();
33 distance_
+= -d
* item_drul_
[d
]->relative_coordinate (pc
, X_AXIS
);
36 while ((flip (&d
)) != LEFT
);
43 if (item_drul_
[LEFT
] != item_drul_
[RIGHT
]
44 && item_drul_
[LEFT
] && item_drul_
[RIGHT
])
45 Spaceable_grob::add_rod (item_drul_
[LEFT
],