]> git.donarmstrong.com Git - lilypond.git/blob - paper.hh
release: 0.0.8
[lilypond.git] / paper.hh
1 #include "proto.hh"
2 #include "real.hh"
3 #include "string.hh"
4
5 struct Paperdef {
6     Lookup *lookup_;
7     String outfile;
8     Real linewidth;
9     /// how much space does a whole note take (ideally?)
10     Real whole_width;
11
12     // ideal = geometric_ ^ log2(duration)
13     Real geometric_;
14     
15     /****************/
16     void parse();
17     Paperdef();
18     ~Paperdef();
19     Real interline()const;
20     Real standard_height()const;
21     Real note_width() const;
22     void print() const;
23     Real duration_to_dist(Real);
24 };
25