]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-interface.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / line-interface.hh
1 /*
2   line-interface.hh -- declare
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef LINE_INTERFACE_HH
10 #define LINE_INTERFACE_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14
15 struct Line_interface
16 {
17   static Stencil line (Grob *me, Offset from, Offset to);
18   DECLARE_GROB_INTERFACE();
19   static Stencil make_zigzag_line (Grob *me,
20                                    Offset from,
21                                    Offset to);
22   static Stencil make_trill_line (Grob *me,
23                                  Offset from,
24                                  Offset to);
25   static Stencil make_dashed_line (Real th, Offset from, Offset to, Real, Real);
26   static Stencil make_line (Real th, Offset from, Offset to);
27   static Stencil make_arrow (Offset beg, Offset end, Real thick,
28                              Real length, Real width);
29   static Stencil arrows (Grob *me, Offset from, Offset to,
30                          bool from_arrow,
31                          bool to_arrow);
32 };
33
34 #endif /* LINE_INTERFACE_HH */
35