summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawgroup.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-11 00:21:50 +0000
committerKarl Berry <karl@freefriends.org>2009-09-11 00:21:50 +0000
commitf06a2c99f2a8bbd8f641712c772179e8ed9ce14f (patch)
treefcf4f2b9d0492da04d9bf3761fbce51fb316024f /Build/source/utils/asymptote/drawgroup.h
parentd4c54e52fe8e42b8ce9b160c70d897bb1d06eee7 (diff)
asymptote 1.86
git-svn-id: svn://tug.org/texlive/trunk@15218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawgroup.h')
-rw-r--r--Build/source/utils/asymptote/drawgroup.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/drawgroup.h b/Build/source/utils/asymptote/drawgroup.h
index 4e2339387f5..50aa7610aac 100644
--- a/Build/source/utils/asymptote/drawgroup.h
+++ b/Build/source/utils/asymptote/drawgroup.h
@@ -13,12 +13,19 @@
namespace camp {
class drawBegin : public drawElement {
+ string name;
public:
- drawBegin() {}
+ drawBegin(string name="") : name(name) {}
virtual ~drawBegin() {}
bool begingroup() {return true;}
+
+ bool write(prcfile *out) {
+ out->begingroup(name.c_str());
+ return true;
+ }
+
};
class drawEnd : public drawElement {
@@ -28,6 +35,12 @@ public:
virtual ~drawEnd() {}
bool endgroup() {return true;}
+
+ bool write(prcfile *out) {
+ out->endgroup();
+ return true;
+ }
+
};
}