This commit is contained in:
Hartmut Seichter 2019-01-31 16:54:12 +01:00
parent 62281699ea
commit 7037abbcb6
11 changed files with 114 additions and 31 deletions

View file

@ -58,6 +58,8 @@ public:
typedef shared_ptr<image> ptr;
sizei size() const;
protected:
sizei _size;

View file

@ -48,6 +48,11 @@ uint32_t image::bytes_per_pixel(image::pixel_layout t)
return std::numeric_limits<uint32_t>::max();
}
sizei image::size() const
{
return _size;
}
image::pixel_layout image::layout() const
{
return _layout;