24 #ifndef RESOURCES_SDLIMAGEHELPER_H
25 #define RESOURCES_SDLIMAGEHELPER_H
29 RESOURCES_SDL2IMAGEHELPER_H
73 const int width,
const int height,
78 const int x,
const int y,
79 SDL_Surface *
const surface)
static Image * _SDLload(SDL_Surface *tmpImage)
static void SDLSetEnableAlphaCache(const bool n)
static int combineSurface(SDL_Surface *const src, SDL_Rect *const srcrect, SDL_Surface *const dst, SDL_Rect *const dstrect)
static bool SDLGetEnableAlphaCache()
static SDL_Surface * SDLDuplicateSurface(SDL_Surface *const tmpImage)
void copySurfaceToImage(const Image *const image, const int x, const int y, SDL_Surface *const surface) const
Image * createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha)
Image * load(SDL_RWops *const rw, Dye const &dye)
static bool mEnableAlphaCache
Image * loadSurface(SDL_Surface *const tmpImage)
#define A_DELETE_COPY(func)