aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_graphic.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-14 14:55:42 +0800
committerchai <chaifix@163.com>2018-12-14 14:55:42 +0800
commit870fcdae66edc680cac55defb149e1434e865f37 (patch)
treebb0b45627b98ec4c782466b3bb57daf63c44e460 /src/libjin/graphics/je_graphic.h
parenteb8ca083c9be574acd27cf0de41d1f69146cad7a (diff)
*格式化代码
Diffstat (limited to 'src/libjin/graphics/je_graphic.h')
-rw-r--r--src/libjin/graphics/je_graphic.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/libjin/graphics/je_graphic.h b/src/libjin/graphics/je_graphic.h
index 90b5522..f47adbf 100644
--- a/src/libjin/graphics/je_graphic.h
+++ b/src/libjin/graphics/je_graphic.h
@@ -17,43 +17,43 @@ namespace JinEngine
namespace Graphics
{
- ///
- /// Class inherites Graphic doesn't keep any state such as origin, scale and other properties. Very low
+ ///
+ /// Class inherites Graphic doesn't keep any state such as origin, scale and other properties. Very low
/// level visualized resources.
///
class Graphic : public Object, public Renderable
{
public:
- ///
- ///
- ///
+ ///
+ ///
+ ///
Graphic(int w = 0, int h = 0);
- ///
- ///
- ///
+ ///
+ ///
+ ///
Graphic(const Bitmap* bitmap);
- ///
- ///
- ///
+ ///
+ ///
+ ///
virtual ~Graphic();
- ///
- ///
- ///
+ ///
+ ///
+ ///
inline int getWidth() const { return mSize.w; }
- ///
- ///
- ///
+ ///
+ ///
+ ///
inline int getHeight() const { return mSize.h; }
- ///
- /// Get opengl texture token.
+ ///
+ /// Get opengl texture token.
///
/// @return OpenGL texture token.
- ///
+ ///
inline GLuint getGLTexture() const { return mTexture; }
///