]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-spanner.hh
patch::: 1.1.37.script1
[lilypond.git] / lily / include / axis-group-spanner.hh
1 /*
2   axis-group-spanner.hh -- declare Axis_group_spanner
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef AXIS_GROUP_SPANNER_HH
11 #define AXIS_GROUP_SPANNER_HH
12
13 #include "spanner.hh"
14 #include "axis-group-element.hh"
15
16 /** An element which groups a line in a certain direction. The most
17   useful example of this is the Vertical_group_spanner */
18 class Axis_group_spanner : public virtual Axis_group_element,
19                            public virtual Spanner
20
21 {
22   void do_break_processing_if_unbroken();
23 protected:
24   virtual void do_break_processing();
25   virtual void do_print() const;
26   virtual Interval do_width () const;
27
28 public:
29   VIRTUAL_COPY_CONS(Score_element);
30 };
31
32 #endif // SPAN_AXIS_GROUP_HH