]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar-line.hh
Merge branch 'stable'
[lilypond.git] / lily / include / bar-line.hh
1 /*
2   bar.hh -- part of GNU LilyPond
3
4   (c) 1996--2008 Han-Wen Nienhuys
5 */
6
7 #ifndef BAR_HH
8 #define BAR_HH
9
10 #include "lily-proto.hh"
11 #include "grob-interface.hh"
12
13 class Bar_line
14 {
15 public:
16   DECLARE_GROB_INTERFACE();
17
18   static Stencil dashed_bar_line (Grob *me, Real h, Real thick);
19   static Stencil tick_bar_line (Grob *me, Real h, bool rounded);
20   static Stencil compound_barline (Grob *, string, Real height, bool rounded);
21   static Stencil simple_barline (Grob *, Real wid, Real height, bool rounded);
22   static Interval bar_y_extent (Grob *, Grob *);
23   DECLARE_SCHEME_CALLBACK (calc_bar_extent, (SCM));
24   DECLARE_SCHEME_CALLBACK (calc_bar_size, (SCM));
25   DECLARE_SCHEME_CALLBACK (print, (SCM));
26   DECLARE_SCHEME_CALLBACK (calc_anchor, (SCM));
27 };
28 #endif // BAR_HH
29