]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.11
authorfred <fred>
Sun, 24 Nov 1996 11:59:28 +0000 (11:59 +0000)
committerfred <fred>
Sun, 24 Nov 1996 11:59:28 +0000 (11:59 +0000)
hdr/paper.hh
src/notehead.cc
src/paper.cc

index 84932a36abdba24789e77ad39fbeea5e9a04f24e..b2ba370b578ab497ab7aec64adf7b8a5e1856f7b 100644 (file)
@@ -19,6 +19,7 @@ struct Paperdef {
     Paperdef();
     ~Paperdef();
     Real interline()const;
+    Real internote()const;
     Real rule_thickness()const;
     Real standard_height()const;
     Real note_width() const;
index a103e69b3daaeedcb3a0975d5741f27af8fb94a1..7abc0e6b8ec238f2a22700ea3e19487d0a52398b 100644 (file)
@@ -35,7 +35,7 @@ Notehead::brew_molecole()
 
     Paperdef *p = paper();
 
-    Real dy = p->interline()/2;
+    Real dy = p->internote();
     Symbol s = p->lookup_->ball(balltype);
     
     output = new Molecule(Atom(s));
index 2b98eef98850598172b65dcbc9fe104c057c5580..5f31611f8e86fa404116e7bc07ee859c1e23a715 100644 (file)
@@ -59,6 +59,12 @@ Paperdef::interline() const
 {
     return lookup_->ball(4).dim.y.length();
 }
+
+Real
+Paperdef::internote() const
+{
+    return lookup_->internote();
+}
 Real
 Paperdef::note_width()const
 {