]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/beaming.hh
* The grand 2005-2006 replace.
[lilypond.git] / lily / include / beaming.hh
index 3dcf419bf62d78c541737b96541a1047a1df70cb..183cf337c487e58823f032670af7b07562a9c72b 100644 (file)
@@ -1,17 +1,15 @@
-/*   
+/*
   beaming.hh -- declare beaming.hh
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef BEAMING_HH
 #define BEAMING_HH
 
 #include "parray.hh"
-#include "drul-array.hh"
 #include "moment.hh"
 
 struct Beaming_info
@@ -20,20 +18,23 @@ struct Beaming_info
   Drul_array<int> beams_i_drul_;
 
   Beaming_info (Moment, int);
-  int count  (Direction d);
+  int count (Direction d);
   Beaming_info ();
 };
 
+/*
+  Generate beaming given durations of notes. Beam uses this to
+  set_beaming () for each of its stems.
+*/
 struct Beaming_info_list
 {
   Array<Beaming_info> infos_;
 
   int beam_extend_count (Direction) const;
-  int min_denominator_index () const;
-  void beamify ();
+  int best_splitpoint_index (Moment &beat_length, bool subdivide) const;
+  void beamify (Moment &beat_length, bool subdivide);
   void add_stem (Moment d, int beams);
+  void clip_edges ();
 };
 
-
 #endif /* BEAMING_HH */
-