diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawgrestore.h')
-rw-r--r-- | Build/source/utils/asymptote/drawgrestore.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/drawgrestore.h b/Build/source/utils/asymptote/drawgrestore.h new file mode 100644 index 00000000000..7f1b62fe630 --- /dev/null +++ b/Build/source/utils/asymptote/drawgrestore.h @@ -0,0 +1,35 @@ +/***** + * drawgrestore.h + * John Bowman + * + * Output PostScript grestore to picture. + *****/ + +#ifndef DRAWGRESTORE_H +#define DRAWGRESTORE_H + +#include "drawelement.h" + +namespace camp { + +class drawGrestore : public drawElement { +public: + drawGrestore() {} + virtual ~drawGrestore() {} + + bool draw(psfile *out) { + out->grestore(); + return true; + } + + bool write(texfile *out, const bbox&) { + out->grestore(); + return true; + } +}; + +} + +GC_DECLARE_PTRFREE(camp::drawGrestore); + +#endif |