2 pitch-squash-grav.cc -- implement Pitch_squash_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "staff-symbol-referencer.hh"
10 #include "note-head.hh"
11 #include "pitch-squash-engraver.hh"
12 #include "rhythmic-head.hh"
15 Pitch_squash_engraver::acknowledge_element (Score_element_info i)
17 SCM newpos = get_property ("squashedPosition");
18 if (Note_head::has_interface (i.elem_l_))
20 i.elem_l_->set_elt_property ("staff-position", newpos);
24 ADD_THIS_TRANSLATOR (Pitch_squash_engraver);