]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
* lily/slur.cc (get_boundary_notecolumn_y): change name from
[lilypond.git] / lily / include / slur.hh
1 /*
2   slur.hh -- declare Slur
3
4   (c)  1996--2003 Han-Wen Nienhuys
5 */
6
7 #ifndef SLUR_HH
8 #define SLUR_HH
9
10 #include "lily-guile.hh"
11 #include "lily-proto.hh"
12 #include "rod.hh"
13
14 class Slur
15 {
16 public:
17   static void add_column (Grob *me, Grob *col);
18   DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
19   static void set_interface (Grob*);
20   static bool  has_interface (Grob*);
21   static Array<Offset> get_encompass_offsets (Grob *me);
22   static Bezier get_curve (Grob *me);
23   static Direction get_default_dir (Grob *me);
24   DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
25
26   DECLARE_SCHEME_CALLBACK (height, (SCM,SCM));
27 private:  
28   static Real get_boundary_notecolumn_y (Grob *me, Direction dir);
29   static Offset broken_trend_offset (Grob *me, Direction dir);
30   static Offset get_attachment (Grob *me,Direction dir, Grob **common);
31   static void de_uglyfy (Grob *me,Slur_bezier_bow* bb, Real default_height);
32   static SCM set_extremities (Grob *me);
33   static void set_control_points (Grob *me);
34   static void check_slope (Grob *me);
35   static Offset encompass_offset (Grob *me, Grob *col, Grob **common);
36 };
37
38 #endif // SLUR_HH
39
40