GL Studio C++ Runtime API
GlsUnicodeFontBase::FontAttrUnicode_t Struct Reference

Attributes of the specific font. More...

#include <gls_unicode_font_base.h>

Inheritance diagram for GlsUnicodeFontBase::FontAttrUnicode_t:
GlsFontBase::FontAttr_t

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.
 

Detailed Description

Attributes of the specific font.

Constructor & Destructor Documentation

◆ FontAttrUnicode_t()

FontAttrUnicode_t ( )
inline

Default constructor to initialize font data to known values

Member Data Documentation

◆ maxNumberOfGlyphsPerTexture

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.


The documentation for this struct was generated from the following file: