2 axis-group-administration.hh -- declare Graphical_axis_group
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef GRAPHICAL_AXIS_GROUP_HH
11 #define GRAPHICAL_AXIS_GROUP_HH
17 #include "lily-proto.hh"
18 #include "graphical-element.hh"
21 Treat a group of graphical elements as an aggegrate.
23 class Graphical_axis_group : public virtual Graphical_element {
25 // keep array in order.
27 Link_array<Graphical_element> elem_l_arr_;
30 Interval extent (Axis) const;
31 virtual void do_print() const;
32 Graphical_axis_group (Graphical_axis_group const&);
33 Graphical_axis_group ();
34 virtual void set_axes (Axis,Axis);
37 bool contains_b (Graphical_element const *) const;
38 void add_element (Graphical_element*);
39 void remove_element (Graphical_element*);
42 #endif // Graphical_axis_group_HH