diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawimage.h')
-rw-r--r-- | Build/source/utils/asymptote/drawimage.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/drawimage.h b/Build/source/utils/asymptote/drawimage.h index a3c5971dc4a..97c15a7c850 100644 --- a/Build/source/utils/asymptote/drawimage.h +++ b/Build/source/utils/asymptote/drawimage.h @@ -20,7 +20,7 @@ protected: public: drawImage(const transform& t, bool antialias, const string& key="") : drawElement(key), t(t), antialias(antialias) {} - + virtual ~drawImage() {} void bounds(bbox& b, iopipestream&, boxvector&, bboxlist&) { @@ -39,16 +39,16 @@ public: drawPaletteImage(const vm::array& image, const vm::array& palette, const transform& t, bool antialias, const string& key="") : drawImage(t,antialias,key), image(image), palette(palette) {} - + virtual ~drawPaletteImage() {} bool draw(psfile *out) { out->gsave(); out->concat(t); out->image(image,palette,antialias); - + out->grestore(); - + return true; } @@ -63,7 +63,7 @@ public: drawNoPaletteImage(const vm::array& image, const transform& t, bool antialias, const string& key="") : drawImage(t,antialias,key), image(image) {} - + virtual ~drawNoPaletteImage() {} bool draw(psfile *out) { @@ -88,7 +88,7 @@ public: const transform& t, bool antialias, const string& key="") : drawImage(t,antialias,key), Stack(Stack), f(f), width(width), height(height) {} - + virtual ~drawFunctionImage() {} bool draw(psfile *out) { @@ -111,7 +111,7 @@ public: drawRawImage(unsigned char *raw, size_t width, size_t height, const transform& t, bool antialias, const string& key="") : drawImage(t,antialias,key), raw(raw), width(width), height(height) {} - + virtual ~drawRawImage() {} bool draw(psfile *out) { |