source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
*/
#include "dot-column.hh"
#include "note-column.hh"
}
+Interval
+Note_column::width () const
+{
+ if (head_l_arr_.size ())
+ return head_l_arr_[0]->width ();
+ else
+ return Interval (0,0);
+}
+
void
Note_column::do_pre_processing()
{
stem_l_ = stem_l;
/*
don't add stem to support; mostly invisible for rest-columns (and possibly taken . .)
-
*/
Score_elem::add_dependency (stem_l);
for (int i=0; i < script_l_arr_.size(); i++)
script_l_arr_[i]->set_stem (stem_l);
-
}
void
void
Note_column::translate_rests (int dy_i)
{
+ invalidate_cache (Y_AXIS);
for (int i=0; i < rest_l_arr_.size(); i++)
rest_l_arr_[i]->position_i_ += dy_i;
}