diff options
Diffstat (limited to 'src/sdlgraphics.h')
-rw-r--r-- | src/sdlgraphics.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sdlgraphics.h b/src/sdlgraphics.h index ab6407f0..3ed31ca3 100644 --- a/src/sdlgraphics.h +++ b/src/sdlgraphics.h @@ -48,6 +48,15 @@ public: int desiredWidth, int desiredHeight, bool useColor) override; +#if SDL_VERSION_ATLEAST(2, 0, 10) + bool drawRescaledImageF(Image *image, + int srcX, int srcY, + float dstX, float dstY, + int width, int height, + float desiredWidth, float desiredHeight, + bool useColor) override; +#endif + void drawRescaledImagePattern(Image *image, int x, int y, int w, int h, |