]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-spanner.hh
Merge with master
[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--2007 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef LINE_SPANNER_HH
10 #define LINE_SPANNER_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.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 Stencil line_stencil (Grob *me, Offset f, Offset t);
21   DECLARE_GROB_INTERFACE();
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 */