]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-head.hh
* scm/define-context-properties.scm
[lilypond.git] / lily / include / note-head.hh
1 /*
2   note-head.hh -- part of GNU LilyPond
3
4   (c) 1996--2005 Han-Wen Nienhuys
5 */
6
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9
10 #include "stencil.hh"
11
12 /** ball at the end of the stem. Also takes care of ledger lines.
13
14 NoteHead is a kind of RhythmicHead, see there.
15
16 Read-only:
17 */
18
19 class Note_head
20 {
21 public:
22   DECLARE_SCHEME_CALLBACK (print, (SCM));
23   DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
24   DECLARE_SCHEME_CALLBACK (extent, (SCM, SCM));
25   DECLARE_SCHEME_CALLBACK (stem_x_shift, (SCM, SCM));
26   static bool has_interface (Grob *);
27   static Real stem_attachment_coordinate (Grob *, Axis a);
28   static int get_balltype (Grob *);
29 };
30 #endif // NOTEHEAD_HH
31