]> git.donarmstrong.com Git - lilypond.git/blob - linestaff.cc
release: 0.0.4
[lilypond.git] / linestaff.cc
1 #include "linestaff.hh"
2 #include "symbol.hh"
3 #include "lookupsyms.hh"
4 #include "dimen.hh"
5
6 Linestaff::Linestaff(int l)
7 {
8     nolines = l;
9     stafsym = Lookup::linestaff(l); 
10 }
11
12 Symbol
13 Linestaff::get_stafsym(Real width)const
14 {  
15    String w(print_dimen(width));
16    return stafsym->eval(w);
17 }