diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-29 22:31:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-29 22:31:02 +0300 |
commit | be877e12682b6f0e697b024f96a1dcaf4d0c8206 (patch) | |
tree | be1277cc745460055c98242a5b1223b4853f381a /src/render/graphics.h | |
parent | c23b922eecefd6cd6421139cf7ec2b59eb87d748 (diff) | |
download | plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.gz plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.bz2 plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.xz plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.zip |
In renderers add copyImage function.
For now it same with drawImage.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 2c4bc57ec..5e536235f 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -347,6 +347,9 @@ class Graphics notfinal virtual bool drawImage(const Image *const image, int dstX, int dstY) = 0; + virtual bool copyImage(const Image *const image, + int dstX, int dstY) = 0; + virtual void drawImageCached(const Image *const image, int srcX, int srcY) = 0; |