summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/drawimage.h')
-rw-r--r--graphics/asymptote/drawimage.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/asymptote/drawimage.h b/graphics/asymptote/drawimage.h
index a3c5971dc4..97c15a7c85 100644
--- a/graphics/asymptote/drawimage.h
+++ b/graphics/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) {