SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Font.h
Go to the documentation of this file.
1 
7 #ifndef __SCV_FONT_H__
8 #define __SCV_FONT_H__
9 
10 namespace scv {
11 
16 class Font {
17 public:
18  Font(void* glFont);
19 
20  unsigned int getFontHeight(void) const;
21  unsigned int getCharWidth(int character) const;
22  unsigned int getStringLength(const std::string &str) const;
23 
24  void *getFont(void) const;
25 protected:
26 
27 private:
28  unsigned int _height;
29  void *_pGLFont;
30 };
31 
32 } // namespace scv
33 
34 #endif // __SCV_FONT_H__