diff options
author | chai <chaifix@163.com> | 2019-02-26 08:48:54 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-02-26 08:48:54 +0800 |
commit | 3f457498b9c39d40a16a0ec6328880854f8cf4de (patch) | |
tree | 061ef9974b4da4c472909a65e6ebd10e8156c1b3 /Source/Asura.Engine/Graphics/Image.cpp | |
parent | 684f71790401727cc45f4dad1822ddae46305072 (diff) |
*misc
Diffstat (limited to 'Source/Asura.Engine/Graphics/Image.cpp')
-rw-r--r-- | Source/Asura.Engine/Graphics/Image.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Source/Asura.Engine/Graphics/Image.cpp b/Source/Asura.Engine/Graphics/Image.cpp index e69de29..e19d57f 100644 --- a/Source/Asura.Engine/Graphics/Image.cpp +++ b/Source/Asura.Engine/Graphics/Image.cpp @@ -0,0 +1,37 @@ +#include "Image.h" + +namespace AsuraEngine +{ + namespace Graphics + { + + Image::Image() + : Texture() + , mPixels(nullptr) + , mWidth(0) + , mHeight(0) + { + } + + Image::~Image() + { + delete mPixels; + } + + bool Image::Load(const void* data, size_t size) + { + + } + + void Image::Render(int x, int y, int sx, int sy, int ox, int oy, int r) + { + + } + + void Image::Render(const Math::Rect& quad, int x, int y, int sx, int sy, int ox, int oy, int r) + { + + } + + } +} |