lilypond-1.1.67
[lilypond.git] / lily / abbreviation-beam.cc
blobb0307f2e6f07fcf649b3aca969eca254e6ef0a51
1 /*
2 abbreviation-beam.cc -- implement Abbreviation_beam
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 Jan Nieuwenhuizen <janneke@gnu.org>
8 */
10 #include "paper-column.hh"
11 #include "array.hh"
12 #include "proto.hh"
13 #include "abbreviation-beam.hh"
14 #include "misc.hh"
15 #include "debug.hh"
17 #include "molecule.hh"
18 #include "leastsquares.hh"
19 #include "stem.hh"
20 #include "paper-def.hh"
21 #include "lookup.hh"
22 #include "stem-info.hh"
27 Abbreviation_beam::Abbreviation_beam ()
28 : Beam ()
32 Molecule*
33 Abbreviation_beam::do_brew_molecule_p () const
35 return Beam::do_brew_molecule_p ();
38 void
39 Abbreviation_beam::do_print () const
41 #ifndef NPRINT
42 Beam::do_print ();
43 Spanner::do_print ();
44 #endif
48 beams to go with one stem.
50 Molecule
51 Abbreviation_beam::stem_beams (Stem *here, Stem *next, Stem *prev) const
53 /*
54 todo
55 - shorter beams (not reaching outer "stems")
56 for [:16 c4 c4] and [:16 c1 c1]
57 - centered beam on [:16 c1 c1] heads, rather than "stems"
59 return Beam::stem_beams (here, next, prev);