]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-spanner.hh
55db2e711ad02c38af083220ea73c53c2d928c55
[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--2001 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   static SCM line_atom (Grob* me, Real dx, Real dy);
20   static Molecule line_molecule (Grob* me, Real dx, Real dy);
21
22 private:
23   static Offset get_broken_offset (Grob *me, Direction dir);
24   static Offset broken_trend_offset (Grob *me, Direction dir);
25 };
26
27 #endif /* LINE_SPANNER_HH */