]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/line-interface.hh
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[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 make_dashed_line (Real th, Offset from, Offset to, Real, Real);
20   static Stencil make_line (Real th, Offset from, Offset to);
21   static Stencil make_arrow (Offset beg, Offset end, Real thick,
22                              Real length, Real width);
23   static Stencil arrows (Grob *me, Offset from, Offset to,
24                          bool from_arrow,
25                          bool to_arrow);
26 };
27
28 #endif /* LINE_INTERFACE_HH */
29