2 new-grace-music.cc -- implement New-Grace_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "new-grace-music.hh"
11 #include "new-grace-iterator.hh"
13 #include "grace-iterator.hh"
14 #include "global-translator.hh"
18 New_grace_iterator::~New_grace_iterator ()
25 New_grace_iterator::process (Moment m
)
28 main
.main_part_
= m
.grace_mom_
;
29 Music_wrapper_iterator::process (main
);
33 New_grace_iterator::construct_children ()
35 Music_wrapper_iterator::construct_children ();
41 New_grace_iterator::pending_moment () const
43 Moment cp
=Music_wrapper_iterator::pending_moment();
46 pending
.grace_mom_
= - music_length_
.main_part_
+ cp
.main_part_
;
52 IMPLEMENT_CTOR_CALLBACK (New_grace_iterator
);