GL Studio C++ Runtime API
|
Attributes of the specific font. More...
#include <gls_unicode_font_base.h>
Public Member Functions | |
FontAttrUnicode_t () | |
Public Member Functions inherited from GlsFontBase::FontAttr_t | |
FontAttr_t () | |
Public Attributes | |
unsigned int | numberOfTextures |
The number of textures used to generate font. | |
unsigned int | glyphCount |
The number of glyphs rendered for the font. | |
unsigned int | maxNumberOfGlyphsPerTexture |
Public Attributes inherited from GlsFontBase::FontAttr_t | |
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
unsigned int maxNumberOfGlyphsPerTexture |
The maximum number of glyphs per texture for the first n textures. This does not take into consideration the last texture which may contain less than the standard number of glyphs per texture.