]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar-line.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / bar-line.hh
1 /*
2   bar.hh -- part of GNU LilyPond
3
4   (c) 1996--2006 Han-Wen Nienhuys
5 */
6
7 #ifndef BAR_HH
8 #define BAR_HH
9
10 #include "lily-guile.hh"
11 #include "lily-proto.hh"
12
13 /**
14    A vertical bar.
15 */
16 class Bar_line
17 {
18 public:
19   static bool has_interface (Grob *);
20
21   static Stencil compound_barline (Grob *, string, Real height, bool rounded);
22   static Stencil simple_barline (Grob *, Real wid, Real height, bool rounded);
23   DECLARE_SCHEME_CALLBACK (calc_bar_size, (SCM));
24   DECLARE_SCHEME_CALLBACK (print, (SCM));
25 };
26 #endif // BAR_HH
27