summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index dc748804..3553cac3 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -46,6 +46,15 @@ class OpenGLGraphics : public Graphics
int width, int height,
bool useColor);
+ /**
+ * Draws a resclaled version of the image
+ */
+ bool drawRescaledImage(Image *image, int srcX, int srcY,
+ int dstX, int dstY,
+ int width, int height,
+ int desiredWidth, int desiredHeight,
+ bool useColor);
+
void drawImagePattern(Image *image,
int x, int y,
int w, int h);