2 note-column.hh -- declare Note_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef NOTE_COLUMN_HH
11 #define NOTE_COLUMN_HH
15 /** a struct for treating a group of noteheads (noteheads, stem
16 (chord) and scripts) as a single entity.
18 class Note_column : public Item
21 virtual void after_line_breaking () ;
23 static int shift_compare (Note_column *const &, Note_column*const&);
25 /** The relative position of the "voice" containing this
26 chord. Normally this would be the same as the stem direction,
30 Direction dir () const;
33 Interval_t<int> head_positions_interval() const;
35 void translate_rests(int dy);
36 Note_head * first_head ()const;
37 Interval rest_dim ()const ;
39 void set_stem (Stem*);
40 void set_dotcol (Dot_column*);
41 void add_head (Rhythmic_head*);
47 #endif // NOTE_COLUMN_HH