summaryrefslogtreecommitdiff
path: root/linestaff.cc
blob: dd9227b155eeaebd9c0e00fbf4452d82c52a2061 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "linestaff.hh"
#include "symbol.hh"
#include "lookupsyms.hh"
#include "dimen.hh"

Linestaff::Linestaff(int l)
{
    nolines = l;
    stafsym = Lookup::linestaff(l); 
}

Symbol
Linestaff::get_stafsym(Real width)const
{  
   String w(print_dimen(width));
   return stafsym->eval(w);
}