]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-spanner.hh
Merge with git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond.git
[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--2006 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef LINE_SPANNER_HH
10 #define LINE_SPANNER_HH
11
12 #include "lily-guile.hh"
13
14 class Grob;
15 class Stencil;
16
17 class Line_spanner
18 {
19 public:
20   DECLARE_SCHEME_CALLBACK (print, (SCM));
21   DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
22   static Stencil line_stencil (Grob *me, Offset f, Offset t);
23   static bool has_interface (Grob *);
24
25 private:
26   static Offset get_broken_offset (Grob *me, Direction dir);
27   static Offset broken_trend_offset (Grob *me, Direction dir);
28 };
29
30 #endif /* LINE_SPANNER_HH */