lilypond-1.0.19
[lilypond.git] / lily / include / graphical-axis-group.hh
blob17ac4b9481b5311b9753de3fb3360fd1b4af005e
1 /*
2 axis-group-administration.hh -- declare Graphical_axis_group
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #ifndef GRAPHICAL_AXIS_GROUP_HH
11 #define GRAPHICAL_AXIS_GROUP_HH
14 #include "parray.hh"
15 #include "axes.hh"
16 #include "real.hh"
17 #include "lily-proto.hh"
18 #include "graphical-element.hh"
20 /**
21 Treat a group of graphical elements as an aggegrate.
23 class Graphical_axis_group : public virtual Graphical_element {
24 public:
25 Link_array<Graphical_element> elem_l_arr_;
26 Axis axis1_, axis2_;
28 Interval extent (Axis) const;
29 virtual void do_print() const;
30 Graphical_axis_group (Graphical_axis_group const&);
31 Graphical_axis_group (Axis,Axis);
32 void remove_all ();
34 bool contains_b (Graphical_element const *) const;
35 void add_element (Graphical_element*);
36 void remove_element (Graphical_element*);
37 DECLARE_MY_RUNTIME_TYPEINFO;
40 #endif // Graphical_axis_group_HH