2 beaming-pattern.hh -- declare beaming-pattern.hh
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef BEAMING_PATTERN_HH
10 #define BEAMING_PATTERN_HH
12 #include "std-vector.hh"
14 #include "lily-proto.hh"
16 struct Beam_rhythmic_element
19 Drul_array<int> beam_count_drul_;
25 Beam_rhythmic_element (Moment, int);
26 Beam_rhythmic_element ();
28 int count (Direction d);
33 Generate beaming given durations of notes. Beam uses this to
34 set_beaming () for each of its stems.
41 void beamify (Context*);
43 void add_stem (Moment d, int beams);
44 int beamlet_count (int idx, Direction d) const;
47 vector<Beam_rhythmic_element> infos_;
49 int beam_extend_count (Direction) const;
50 int best_splitpoint_index (bool *split) const;
53 #endif /* BEAMING_PATTERN_HH */