]> git.donarmstrong.com Git - lilypond.git/blob - lily/time-scaled-music.cc
release: 1.3.111
[lilypond.git] / lily / time-scaled-music.cc
1 /*   
2   time-scaled-music.cc --  implement Time_scaled_music
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "time-scaled-music.hh"
11 #include "time-scaled-music-iterator.hh"
12
13 Time_scaled_music::Time_scaled_music (int n, int d,Music *mp)
14   : Music_wrapper (mp)
15 {
16   set_mus_property ("numerator", gh_int2scm (n));
17   set_mus_property ("denominator", gh_int2scm (d));
18   set_mus_property ("iterator-ctor",
19                     Time_scaled_music_iterator::constructor_cxx_function);
20   
21   compress (Moment (n,d));
22 }
23
24
25
26