]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-head.hh
release: 1.5.29
[lilypond.git] / lily / include / note-head.hh
1 /*
2   note-head.hh -- part of GNU LilyPond
3
4   (c) 1996--2002 Han-Wen Nienhuys
5 */
6
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9
10 #include "lily-guile.hh"
11 #include "molecule.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 (brew_molecule, (SCM ));
24   static Interval head_extent (Grob*,Axis);
25   static Molecule ledger_lines (Grob*, bool, int,Direction,Interval);
26   static Molecule ledger_line (Interval, Grob*) ;
27   DECLARE_SCHEME_CALLBACK (brew_ez_molecule, (SCM ));
28   static bool has_interface (Grob*);
29   static Real stem_attachment_coordinate (Grob *, Axis a);
30   
31 };
32 #endif // NOTEHEAD_HH
33