20 unsigned borderSize,
unsigned borderRGBA);
23 uint8_t r, uint8_t
g, uint8_t b, uint8_t alpha)
override;
29 unsigned borderSize,
unsigned borderRGBA);
31 unsigned borderSize,
unsigned borderRGBA);
35 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:
constexpr const char *const filename