lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adds glissando stems to Lilypond. (issue4661061)


From: Reinhold Kainhofer
Subject: Re: Adds glissando stems to Lilypond. (issue4661061)
Date: Tue, 5 Jul 2011 15:27:11 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.4; i686; ; )

Am Dienstag 05 Juli 2011, 06:10:12 schrieb address@hidden:
> I'm wondering if it's possible to avoid code dup by making a
> base_stem_engraver of which glissando_stem_engraver and stem_engraver
> would be children.
> 
> I probably don't have the right terminology for this (in fact I'm sure I
> don't), but I'm thinking of what happens with ligature_engraver and
> mensural_ligature_engraver.

Hmm, I always thought that engravers should NEVER use inheritance... At least 
that´s what the comments in the slur-engraver.cc and the phrasing-slur-
engraver.cc (which are basically identical except for melisma handling) 
says...

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * Edition Kainhofer Music Publishing, http://www.edition-kainhofer.com/
 * LilyPond music typesetting software, http://www.lilypond.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]