]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-spanner.hh
d120bb8d4259f1bc8212c67e10135114796ce0cd
[lilypond.git] / lily / include / line-spanner.hh
1 /*
2   line-spanner.hh -- declare Line_spanner
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  2000--2003 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9
10 #ifndef LINE_SPANNER_HH
11 #define LINE_SPANNER_HH
12
13 #include "lily-guile.hh"
14
15 class Line_spanner
16 {
17 public:
18   DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
19   DECLARE_SCHEME_CALLBACK(after_line_breaking, (SCM));  
20   static Molecule line_molecule (Grob* me, Offset f, Offset t);
21   static bool has_interface (Grob*);
22
23 private:
24   static Offset get_broken_offset (Grob *me, Direction dir);
25   static Offset broken_trend_offset (Grob *me, Direction dir);
26 };
27
28 #endif /* LINE_SPANNER_HH */