65 void operator=(
const CImage &other) =
delete;
95 void PadToNearestPowerOfTwo();
101 bool Load(
const std::string &fileName);
104 bool SavePNG(
const std::string &fileName);
107 std::string GetError();
110 void FlipVertically();
113 void SetDataPixels(
void *pixels);
117 void BlitToNewRGBASurface(
int width,
int height);
122 std::unique_ptr<ImageData> m_data;
Color with integer values.
Definition: color.h:101
SDL_Surface * surface
SDL surface with image data.
Definition: image.h:44
Color structs and related functions.
Image loaded from file.
Definition: image.h:54
Implementation-specific image data.
Definition: image.h:41
2D Point with integer coords
Definition: intpoint.h:41
RGBA color.
Definition: color.h:39