diff options
Diffstat (limited to 'src/libjin/Graphics/Font/Font.h')
-rw-r--r-- | src/libjin/Graphics/Font/Font.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/libjin/Graphics/Font/Font.h b/src/libjin/Graphics/Font/Font.h index fcc559c..9ccef54 100644 --- a/src/libjin/Graphics/Font/Font.h +++ b/src/libjin/Graphics/Font/Font.h @@ -5,35 +5,35 @@ namespace jin { -namespace graphics -{ + namespace graphics + { - struct Page; + struct Page; - class Font - { - public: - Font(unsigned fontsize) - : fontSize(fontsize) - { - } - virtual ~Font() {}; + class Font + { + public: + Font(unsigned fontsize) + : fontSize(fontsize) + { + } + virtual ~Font() {}; - virtual Page* typeset(const Text& text, int lineheight, int spacing = 0) = 0; - virtual Page* typeset(const Content& text, int lineheight, int spacing = 0) = 0; + virtual Page* typeset(const Text& text, int lineheight, int spacing = 0) = 0; + virtual Page* typeset(const Content& text, int lineheight, int spacing = 0) = 0; - virtual void print(const Page* page, int x, int y) = 0; - virtual void print(const Content& text, int x, int y, int lineheight, int spacing = 0) = 0; - virtual void print(const Text& text, int x, int y, int lineheight, int spacing = 0) = 0; + virtual void print(const Page* page, int x, int y) = 0; + virtual void print(const Content& text, int x, int y, int lineheight, int spacing = 0) = 0; + virtual void print(const Text& text, int x, int y, int lineheight, int spacing = 0) = 0; - inline unsigned getFontSize() { return fontSize; }; + inline unsigned getFontSize() { return fontSize; }; - protected: - unsigned fontSize; + protected: + unsigned fontSize; - }; + }; -} // graphics + } // graphics } // jin #endif
\ No newline at end of file |