summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Engine/Graphics/Image.cpp')
-rw-r--r--Source/Asura.Engine/Graphics/Image.cpp37
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)
+ {
+
+ }
+
+ }
+}