From 870fcdae66edc680cac55defb149e1434e865f37 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 14 Dec 2018 14:55:42 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/graphics/je_graphic.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/libjin/graphics/je_graphic.h') 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; } /// -- cgit v1.1-26-g67d0