]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-spanner.hh
4dda796de4e7464bc6421bf397f0d8e7533dea1a
[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--2004 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 (print, (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 */