OpenGL Font.
More...
#include <opengl_interop.hpp>
List of all members.
Public Types |
| enum | Weight {
WEIGHT_LIGHT = 300,
WEIGHT_NORMAL = 400,
WEIGHT_SEMIBOLD = 600,
WEIGHT_BOLD = 700,
WEIGHT_BLACK = 900
} |
| enum | Style { STYLE_NORMAL = 0,
STYLE_ITALIC = 1,
STYLE_UNDERLINE = 2
} |
Public Member Functions |
| void | draw (const char *str, int len) const |
| const std::string & | family () const |
| int | height () const |
| Weight | weight () const |
| Style | style () const |
Static Public Member Functions |
| static Ptr< GlFont > | get (const std::string &family, int height=12, Weight weight=WEIGHT_NORMAL, Style style=STYLE_NORMAL) |
Detailed Description
Member Enumeration Documentation
- Enumerator:
| WEIGHT_LIGHT |
|
| WEIGHT_NORMAL |
|
| WEIGHT_SEMIBOLD |
|
| WEIGHT_BOLD |
|
| WEIGHT_BLACK |
|
- Enumerator:
| STYLE_NORMAL |
|
| STYLE_ITALIC |
|
| STYLE_UNDERLINE |
|
Member Function Documentation
The documentation for this class was generated from the following file: