2 staff-sym-referencer.hh -- declare staff_symbol_referencer
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #ifndef STAFF_SYMBOL_REFERENCER_HH
10 #define STAFF_SYMBOL_REFERENCER_HH
15 A notation object that needs access to variables of the staff (no
18 class Staff_symbol_referencer
21 static bool has_interface (Grob *);
22 static bool ugly_hack (Grob *);
23 static void set_position (Grob *, Real);
24 DECLARE_SCHEME_CALLBACK (callback, (SCM element, SCM axis));
27 Leading are the lead strips between the sticks (lines) of
28 typeface. ie. leading is vertical space.
30 static Real line_thickness (Grob *);
31 static Real staff_space (Grob *);
32 static Grob *get_staff_symbol (Grob *);
33 static bool on_staffline (Grob *);
34 static bool on_staffline (Grob *, int);
35 static int line_count (Grob *);
36 static Real get_position (Grob *);
37 static Real staff_radius (Grob *);
38 static int get_rounded_position (Grob *);
41 int compare_position (Grob *const &, Grob *const &);
42 #endif /* STAFF_SYMBOL_REFERENCER_HH */