11 const Real PHI = (1+sqrt(5))/2;
15 Paperdef::duration_to_dist(Real d)
17 return whole_width * pow(geometric_, log2(d));
21 Paperdef::rule_thickness()const
23 return convert_dimen(0.4, "pt");
26 Paperdef::Paperdef(Lookup *l)
30 linewidth = convert_dimen(15,"cm"); // in cm for now
31 whole_width = 8 * note_width();
41 Paperdef::set(Lookup*l)
49 Paperdef::interline() const
51 return lookup_->ball(4).dim.y.length();
55 Paperdef::internote() const
57 return lookup_->internote();
60 Paperdef::note_width()const
62 return lookup_->ball(4).dim.x.length( );
65 Paperdef::standard_height() const
67 return convert_dimen(20,"pt");
71 Paperdef::print() const
74 mtor << "Paper {width: " << print_dimen(linewidth);
75 mtor << "whole: " << print_dimen(whole_width);
76 mtor << "out: " <<outfile;