]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-head.hh
2edeb1b95135e3c93034993ef2ca79564330dd80
[lilypond.git] / lily / include / note-head.hh
1 /*
2   note-head.hh -- part of GNU LilyPond
3
4   (c) 1996--2007 Han-Wen Nienhuys
5 */
6
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9
10 #include "stencil.hh"
11 #include "grob-interface.hh"
12
13
14 class Note_head
15 {
16 public:
17   DECLARE_SCHEME_CALLBACK (print, (SCM));
18   DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
19   DECLARE_SCHEME_CALLBACK (stem_x_shift, (SCM));
20   DECLARE_SCHEME_CALLBACK (calc_stem_attachment, (SCM));
21   DECLARE_GROB_INTERFACE();
22
23   static Real stem_attachment_coordinate (Grob *, Axis a);
24   static int get_balltype (Grob *);
25
26   static Offset get_stem_attachment (Font_metric *, string);
27 };
28 #endif // NOTEHEAD_HH
29