From: fred Date: Wed, 27 Nov 1996 01:26:00 +0000 (+0000) Subject: lilypond-0.0.11 X-Git-Tag: release/1.5.59~6750 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1c31c4fe0bcb9c09e1afd63ec77d232f1b9d377d;p=lilypond.git lilypond-0.0.11 --- diff --git a/src/stem.cc b/src/stem.cc index fb8e410117..126cc30474 100644 --- a/src/stem.cc +++ b/src/stem.cc @@ -31,6 +31,7 @@ Stem::Stem(int c) void Stem::set_stemend(Real se) { + assert(!output); // todo: margins assert((dir > 0 && se >= maxnote) || (se <= minnote && dir <0)); @@ -126,13 +127,10 @@ Stem::brew_molecole() assert(!output); Paperdef *p =paper(); - Parametric_symbol *stem = p->lookup_->stem(); - - Real dy = p->interline()/2; - String y1 =print_dimen( dy * bot); - String y2 = print_dimen(dy * top); - Symbol ss =stem->eval(y1,y2); - delete stem; + + Real dy = p->internote(); + Symbol ss =p->lookup_->stem(bot*dy,top*dy); + output = new Molecule(Atom(ss));