]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-interface.hh
move zigzag to line-interface.
[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--2007 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 zigzag_stencil (Grob *me,
20                                  Offset from,
21                                  Offset to);
22   static Stencil make_dashed_line (Real th, Offset from, Offset to, Real, Real);
23   static Stencil make_line (Real th, Offset from, Offset to);
24   static Stencil make_arrow (Offset beg, Offset end, Real thick,
25                              Real length, Real width);
26   static Stencil arrows (Grob *me, Offset from, Offset to,
27                          bool from_arrow,
28                          bool to_arrow);
29 };
30
31 #endif /* LINE_INTERFACE_HH */
32