2 grace-music.cc -- implement Grace_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "grace-music.hh"
11 #include "grace-iterator.hh"
14 Grace_music::compress (Moment m)
16 Music_wrapper::compress (m);
20 Grace_music::length_mom () const
22 Moment l = Music_wrapper::length_mom ();
24 gl.grace_part_ = l.main_part_ + l.grace_part_ ;
30 Grace_music::start_mom () const
32 return - length_mom ();
35 Grace_music::Grace_music ()
37 set_mus_property ("iterator-ctor",
38 Grace_iterator::constructor_cxx_function);
41 Grace_music::Grace_music (SCM p)
44 set_mus_property ("iterator-ctor",
45 Grace_iterator::constructor_cxx_function);
48 ADD_MUSIC (Grace_music);