]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-head.hh
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / lily / include / note-head.hh
1 /*
2   note-head.hh -- part of GNU LilyPond
3
4   (c) 1996--2004 Han-Wen Nienhuys
5 */
6
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9
10 #include "lily-guile.hh"
11 #include "stencil.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   static Interval head_extent (Grob*, Axis);
25   static Stencil brew_ledger_lines (Grob *me, int pos, int interspaces,
26                                      Interval x_extent, Real, bool);
27   DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
28   DECLARE_SCHEME_CALLBACK (extent, (SCM,SCM));
29   static bool has_interface (Grob*);
30   static Real stem_attachment_coordinate (Grob *, Axis a);
31   static int get_balltype (Grob*) ;  
32 };
33 #endif // NOTEHEAD_HH
34