blob: 198ad9eefed89c12d3e73a64172a208d38adc546 (
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
|
#ifndef __AE_IMAGE_H__
#define __AE_IMAGE_H__
#include "Math/Vector2.h"
#include "Object.h"
namespace AsuraEngine
{
namespace Graphics
{
///
/// ImageͼƬڴȡϷĽһImageڴ桢ԴֻᱣһݣҪ
/// imageêλãźתǶȣʹspriteһֻࡣ
///
class Image final : public Object
{
public:
Math::Vector2 GetSize();
uint GetWidth();
uint GetHeight();
private:
///
/// СΪλ
///
uint mWidth, mHeight;
};
}
}
#endif
|