diff options
author | chai <chaifix@163.com> | 2019-02-22 13:50:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-02-22 13:50:12 +0800 |
commit | 22ba8d6af9e9a67e6bac11365df23b6a61fa62c7 (patch) | |
tree | 7e86accc40e3b99b8ae575f718136239fc249d2d /Source/Asura.Engine/Graphics/Image.h | |
parent | f756fa0a17675ea70956af9c42f6c1117a84f9bd (diff) |
*修改缩进
Diffstat (limited to 'Source/Asura.Engine/Graphics/Image.h')
-rw-r--r-- | Source/Asura.Engine/Graphics/Image.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/Source/Asura.Engine/Graphics/Image.h b/Source/Asura.Engine/Graphics/Image.h index e84dd6c..553df21 100644 --- a/Source/Asura.Engine/Graphics/Image.h +++ b/Source/Asura.Engine/Graphics/Image.h @@ -12,52 +12,52 @@ namespace AsuraEngine { - namespace Graphics - { + namespace Graphics + { - class ImageFactory; + class ImageFactory; - /// - /// ImageͼƬڴȡϷĽһImageڴ桢ԴֻᱣһݣҪ - /// imageêλãźתǶȣʹspriteһֻࡣ - /// - class Image final : public Texture - { - public: + /// + /// ImageͼƬڴȡϷĽһImageڴ桢ԴֻᱣһݣҪ + /// imageêλãźתǶȣʹspriteһֻࡣ + /// + class Image final : public Texture + { + public: - uint GetWidth(); - uint GetHeight(); + uint GetWidth(); + uint GetHeight(); - /// - /// ijһλõ - /// - Color GetPixel(uint x, uint y); + /// + /// ijһλõ + /// + Color GetPixel(uint x, uint y); - private: + private: - friend class ImageFactory; + friend class ImageFactory; - Image(Color* pixels, int width, int height); - ~Image(); + Image(Color* pixels, int width, int height); + ~Image(); - /// - /// СΪλ - /// - uint mWidth, mHeight; - Color* mPixels; + /// + /// СΪλ + /// + uint mWidth, mHeight; + Color* mPixels; /// /// ID /// uint mID; - //---------------------------------------------------------------------------------------------------- + //---------------------------------------------------------------------------------------------------- - LUAX_DECL_FACTORY(SimImage); //AsuraEngine.SimImage + LUAX_DECL_FACTORY(SimImage); //AsuraEngine.SimImage - }; + }; - } + } } #endif
\ No newline at end of file |