17 #ifndef DGL_IMAGE_BASE_HPP_INCLUDED
18 #define DGL_IMAGE_BASE_HPP_INCLUDED
20 #include "Geometry.hpp"
47 ImageBase(
const char*
const rawData,
const uint width,
const uint height);
99 void drawAt(
const int x,
const int y);
110 bool operator==(
const ImageBase& image)
const noexcept;
111 bool operator!=(
const ImageBase& image)
const noexcept;
115 virtual void _drawAt(
const Point<int>& pos) = 0;
117 const char* fRawData;
125 #endif // DGL_IMAGE_HPP_INCLUDED
bool isValid() const noexcept
void drawAt(const int x, const int y)
uint getHeight() const noexcept
ImageBase & operator=(const ImageBase &image) noexcept
Definition: ImageBase.hpp:35
const Size< uint > & getSize() const noexcept
uint getWidth() const noexcept
const char * getRawData() const noexcept