diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawgroup.h')
-rw-r--r-- | Build/source/utils/asymptote/drawgroup.h | 15 |
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; + } + }; } |