]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-placement.hh
* lily/lily-guile.cc (robust_scm2double): new function. Use throughout.
[lilypond.git] / lily / include / accidental-placement.hh
1 /*   
2 accidental-placement.hh -- declare  Accidental_placement
3
4 source file of the GNU LilyPond music typesetter
5
6 (c)  2002--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7
8  */
9
10 #ifndef ACCIDENTAL_PLACEMENT_HH
11 #define ACCIDENTAL_PLACEMENT_HH
12
13 #include "grob.hh"
14
15 class Accidental_placement
16 {
17 public:
18   DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element, SCM axis));
19   static void add_accidental (Grob *,Grob* );
20
21   static Interval get_relevant_accidental_extent (Grob *me,
22                                                   Item *item_col,
23                                                   Grob *acc);
24   static void split_accidentals (Grob * accs,
25                           Link_array<Grob> *break_reminder,
26                           Link_array<Grob> *real_acc);
27   
28   static SCM position_accidentals (Grob* );
29   static bool has_interface (Grob*);
30 };
31 #endif /* ACCIDENTAL_PLACEMENT_HH */
32