summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/drawgroup.h')
-rw-r--r--Build/source/utils/asymptote/drawgroup.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/drawgroup.h b/Build/source/utils/asymptote/drawgroup.h
new file mode 100644
index 00000000000..4e2339387f5
--- /dev/null
+++ b/Build/source/utils/asymptote/drawgroup.h
@@ -0,0 +1,38 @@
+/*****
+ * drawgroup.h
+ * John Bowman
+ *
+ * Group elements in a picture to be deconstructed as a single object.
+ *****/
+
+#ifndef DRAWGROUP_H
+#define DRAWGROUP_H
+
+#include "drawelement.h"
+
+namespace camp {
+
+class drawBegin : public drawElement {
+public:
+ drawBegin() {}
+
+ virtual ~drawBegin() {}
+
+ bool begingroup() {return true;}
+};
+
+class drawEnd : public drawElement {
+public:
+ drawEnd() {}
+
+ virtual ~drawEnd() {}
+
+ bool endgroup() {return true;}
+};
+
+}
+
+GC_DECLARE_PTRFREE(camp::drawBegin);
+GC_DECLARE_PTRFREE(camp::drawEnd);
+
+#endif