diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-08-06 21:26:54 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-08-06 21:28:05 +0200 |
commit | 5f35db151850a9ac318743bccfeb20711af5de8d (patch) | |
tree | 596b5b9cbf934a594ec4785d7afcab04259911e6 /src/resources/image.h | |
parent | 1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa (diff) | |
download | mana-5f35db151850a9ac318743bccfeb20711af5de8d.tar.gz mana-5f35db151850a9ac318743bccfeb20711af5de8d.tar.bz2 mana-5f35db151850a9ac318743bccfeb20711af5de8d.tar.xz mana-5f35db151850a9ac318743bccfeb20711af5de8d.zip |
Use fillRectangle instead of tiling a colored image
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index c67686e6..f497f608 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -89,12 +89,12 @@ class Image : public Resource /** * Gets an scaled instance of an image. - * + * * @param width The desired width of the scaled image. * @param height The desired height of the scaled image. * * @return A new Image* object. - */ + */ Image* SDLgetScaledImage(int width, int height); /** @@ -138,12 +138,6 @@ class Image : public Resource */ float getAlpha() const; - /** - * Returns a 2x2 image filled with the desired color. - * Useful for pattern operations. - */ - static Image* getColoredPattern(Uint8 red, Uint8 green, Uint8 blue); - #ifdef USE_OPENGL /** * Sets the target image format. Use <code>false</code> for SDL and |