2 staff-sym-referencer.hh -- declare staff_symbol_referencer
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef STAFF_SYMBOL_REFERENCER_HH
11 #define STAFF_SYMBOL_REFERENCER_HH
13 #include "score-element.hh"
17 A notation object that needs access to variables of the staff (no
21 class Staff_symbol_referencer
24 static void set_interface (Score_element*);
25 static bool has_interface (Score_element*);
26 static void set_position (Score_element*,Real);
27 static SCM callback (SCM element, SCM axis);
30 Leading are the lead strips between the sticks (lines) of
31 typeface. ie. leading is vertical space.
34 static Real staff_space (Score_element*);
35 static Score_element * staff_symbol_l (Score_element*);
36 static bool on_staffline (Score_element*);
37 static bool on_staffline (Score_element*,int);
38 static int line_count (Score_element*);
39 static Real position_f (Score_element*);
40 static Real staff_radius (Score_element*);
43 int compare_position (Score_element *const&,Score_element *const&);
44 #endif /* STAFF_SYMBOL_REFERENCER_HH */