Am Dienstag 05 Juli 2011, 06:10:12 schrieb carl.d.soren...@gmail.com:
> 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: reinh...@kainhofer.com, 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/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to