]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-symbol.hh
6791e7be1c21cf575afa1acd42613cd8aa9f2e58
[lilypond.git] / lily / include / staff-symbol.hh
1 /*
2   staff-symbol.hh -- declare Staff_symbol
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef STAFF_SYMBOL_HH
10 #define STAFF_SYMBOL_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14
15 /**
16    TODO: add linethickness as parameter.
17 */
18 class Staff_symbol
19 {
20 public:
21   static Real staff_space (Grob *);
22   static Real get_line_thickness (Grob *);
23   static Real get_ledger_line_thickness (Grob *);
24   
25   static int get_steps (Grob *);
26   static int line_count (Grob *);
27   static bool on_line (Grob *me, int pos);
28   DECLARE_SCHEME_CALLBACK (print, (SCM));
29   DECLARE_SCHEME_CALLBACK (height, (SCM));  
30   DECLARE_GROB_INTERFACE();
31 };
32 #endif // STAFF_SYMBOL_HH