2 beam.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
10 #include "directional-spanner.hh"
13 /** a beam connects multiple stems Beam adjusts the stems its owns to
14 make sure that they reach the beam and that point in the correct
16 struct Beam
: public Directional_spanner
{
17 PointerList
<Stem
*> stems
;
18 /// the slope of the beam in posns / point (dimension)
21 /// position of leftmost end of beam
28 virtual Interval
width()const;
29 Offset
center() const;
30 Spanner
*do_break_at(PCol
*, PCol
*) const;
35 void set_default_dir();
36 void do_pre_processing();
37 void do_post_processing();
39 void do_print() const;
40 void set_grouping(Rhythmic_grouping def
, Rhythmic_grouping current
);
45 Molecule
stem_beams(Stem
*here
, Stem
*next
, Stem
*prev
)const;
47 Molecule
*brew_molecule_p()const;