summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Image.cpp
blob: e19d57facc3e2647533e67525a13940355de7887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)
		{

		}

	}
}