]> git.donarmstrong.com Git - lilypond.git/blobdiff - paper.hh
release: 0.0.8
[lilypond.git] / paper.hh
index e96d9b089fdde78e6b72793e0ba0bea94ee9d1a4..ffe4f795a86d83cf7ff173d3b33b119fcbfac31e 100644 (file)
--- a/paper.hh
+++ b/paper.hh
@@ -8,6 +8,9 @@ struct Paperdef {
     Real linewidth;
     /// how much space does a whole note take (ideally?)
     Real whole_width;
+
+    // ideal = geometric_ ^ log2(duration)
+    Real geometric_;
     
     /****************/
     void parse();
@@ -17,5 +20,6 @@ struct Paperdef {
     Real standard_height()const;
     Real note_width() const;
     void print() const;
+    Real duration_to_dist(Real);
 };