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