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 {
26 /// modify fields of E for removal.
27 void do_remove (Graphical_element*e);
29 // keep array in order.
31 Link_array<Graphical_element> elem_l_arr_;
34 Interval extent (Axis) const;
35 virtual void do_print() const;
36 Graphical_axis_group(Graphical_axis_group const&s);
37 Graphical_axis_group ();
38 virtual void set_axes (Axis,Axis);
41 bool contains_b (Graphical_element const *) const;
42 void add_element (Graphical_element*, Axis = NO_AXES, Axis = NO_AXES);
43 void remove_element (Graphical_element*);
46 #endif // Graphical_axis_group_HH