]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Sun, 19 Jul 1998 00:10:26 +0000 (00:10 +0000)
committerfred <fred>
Sun, 19 Jul 1998 00:10:26 +0000 (00:10 +0000)
lily/include/graphical-axis-group.hh [new file with mode: 0644]

diff --git a/lily/include/graphical-axis-group.hh b/lily/include/graphical-axis-group.hh
new file mode 100644 (file)
index 0000000..17ac4b9
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+  axis-group-administration.hh -- declare Graphical_axis_group
+
+  source file of the GNU LilyPond music typesetter
+
+  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
+
+
+#ifndef GRAPHICAL_AXIS_GROUP_HH
+#define GRAPHICAL_AXIS_GROUP_HH
+
+
+#include "parray.hh"
+#include "axes.hh"
+#include "real.hh"
+#include "lily-proto.hh"
+#include "graphical-element.hh"
+
+/**
+  Treat a group of graphical elements as an aggegrate.
+ */
+class Graphical_axis_group : public virtual Graphical_element {
+public:
+  Link_array<Graphical_element> elem_l_arr_;
+  Axis axis1_, axis2_;
+    
+  Interval extent (Axis) const;
+  virtual void do_print() const;
+  Graphical_axis_group (Graphical_axis_group const&);
+  Graphical_axis_group (Axis,Axis);
+  void remove_all ();
+
+  bool contains_b (Graphical_element const *) const;
+  void add_element (Graphical_element*);
+  void remove_element (Graphical_element*);
+  DECLARE_MY_RUNTIME_TYPEINFO;
+};
+
+#endif // Graphical_axis_group_HH