2 collision.hh -- declare Collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "lily-proto.hh"
14 #include "lily-guile.hh"
18 Resolve conflicts between various Note_columns (chords).
22 * multistaff support (see Chlapik: equal noteheads should be on the
25 * Make interface of this, similar to align-interface.
29 elements -- (see Axis_group_interface)
31 merge-differently-dotted -- merge black noteheads with differing dot count.
33 horizontal-shift -- integer that identifies ranking of note-column for horizontal shifting.
35 force-hshift -- amount of collision_note_width that overides automatic collision settings.
36 Read and removed from elements.
39 class Collision // interface
42 Score_element* elt_l_;
43 static SCM automatic_shift (Score_element*);
44 static SCM forced_shift (Score_element*);
45 static Real force_shift_callback (Score_element const*, Axis);
46 static void do_shifts (Score_element*);
48 void add_column (Note_column*ncol_l);
49 Collision(Score_element*);
51 #endif // COLLISION_HH