]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-head.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / note-head.hh
1 /*
2   note-head.hh -- part of GNU LilyPond
3
4   (c) 1996--2006 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 /** ball at the end of the stem. Also takes care of ledger lines.
14
15 NoteHead is a kind of RhythmicHead, see there.
16
17 Read-only:
18 */
19
20 class Note_head
21 {
22 public:
23   DECLARE_SCHEME_CALLBACK (print, (SCM));
24   DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
25   DECLARE_SCHEME_CALLBACK (stem_x_shift, (SCM));
26   DECLARE_SCHEME_CALLBACK (calc_stem_attachment, (SCM));
27   DECLARE_GROB_INTERFACE();
28   static Real stem_attachment_coordinate (Grob *, Axis a);
29   static int get_balltype (Grob *);
30
31   static Offset get_stem_attachment (Font_metric *, string);
32 };
33 #endif // NOTEHEAD_HH
34