|
GL Studio C++ Runtime API
|
Attributes of the specific font. More...
#include <gls_font_base.h>
Public Member Functions | |
| FontAttr_t () | |
Public Attributes | |
| std::string | family |
| Font family name. Eg. Arial. | |
| std::string | style |
| Font style. Eg. Bold. | |
| GLuint | ptSize |
| Font point size. | |
| GLuint | descender |
| Font descender in positive pixels. | |
| Char_t | firstChar |
| First character code in the character set. | |
| Char_t | lastChar |
| Last character code in the character set. | |
| GLuint | maxCharHeight |
| Maximum character height in pixels. | |
| GLuint | maxCharWidth |
| Maximum character width in pixels. | |
| GLint | underlinePos |
| Position of the underline for underlined text. | |
| GLuint | underlineSize |
| thickness of the underline. | |
Attributes of the specific font.
|
inline |
Default constructor to initialize font data to known values