openMSX
|
#include <SDLImage.hh>
Public Member Functions | |
SDLImage (OutputSurface &output, const std::string &filename) | |
SDLImage (OutputSurface &output, SDLSurfacePtr image) | |
SDLImage (OutputSurface &output, const std::string &filename, float scaleFactor) | |
SDLImage (OutputSurface &output, const std::string &filename, gl::ivec2 size) | |
SDLImage (OutputSurface &output, gl::ivec2 size, uint32_t rgba) | |
SDLImage (OutputSurface &output, gl::ivec2 size, std::span< const uint32_t, 4 > rgba, int borderSize, uint32_t borderRGBA) | |
void | draw (OutputSurface &output, gl::ivec2 pos, uint8_t r, uint8_t g, uint8_t b, uint8_t alpha) override |
Public Member Functions inherited from openmsx::BaseImage | |
virtual | ~BaseImage ()=default |
virtual void | draw (OutputSurface &output, gl::ivec2 pos, uint8_t r, uint8_t g, uint8_t b, uint8_t alpha)=0 |
gl::ivec2 | getSize () const |
void | draw (OutputSurface &output, gl::ivec2 pos, uint8_t alpha=255) |
Additional Inherited Members | |
Static Public Member Functions inherited from openmsx::BaseImage | |
static void | checkSize (gl::ivec2 size) |
Performs a sanity check on image size. More... | |
Protected Attributes inherited from openmsx::BaseImage | |
gl::ivec2 | size |
Definition at line 12 of file SDLImage.hh.
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
const std::string & | filename | ||
) |
Definition at line 206 of file SDLImage.cc.
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
SDLSurfacePtr | image | ||
) |
Definition at line 249 of file SDLImage.cc.
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
const std::string & | filename, | ||
float | scaleFactor | ||
) |
Definition at line 214 of file SDLImage.cc.
References openmsx::BaseImage::size, and gl::trunc().
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
const std::string & | filename, | ||
gl::ivec2 | size | ||
) |
Definition at line 222 of file SDLImage.cc.
References openmsx::BaseImage::size.
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
gl::ivec2 | size, | ||
uint32_t | rgba | ||
) |
Definition at line 229 of file SDLImage.cc.
openmsx::SDLImage::SDLImage | ( | OutputSurface & | output, |
gl::ivec2 | size, | ||
std::span< const uint32_t, 4 > | rgba, | ||
int | borderSize, | ||
uint32_t | borderRGBA | ||
) |
Definition at line 236 of file SDLImage.cc.
|
overridevirtual |
Implements openmsx::BaseImage.
Definition at line 369 of file SDLImage.cc.
References g, and openmsx::BaseImage::size.