21 int borderSize, uint32_t borderRGBA);
24 uint8_t r, uint8_t
g, uint8_t b, uint8_t alpha)
override;
30 int borderSize, uint32_t borderRGBA);
32 int borderSize, uint32_t borderRGBA);
36 const bool flipX, flipY;
std::unique_ptr< SDL_Texture, SDLDestroyTexture > SDLTexturePtr
Wrapper around a SDL_Surface.
A frame buffer where pixels can be written to.
SDLImage(OutputSurface &output, const std::string &filename)
void draw(OutputSurface &output, gl::ivec2 pos, uint8_t r, uint8_t g, uint8_t b, uint8_t alpha) override
This file implemented 3 utility functions: