GL Studio C++ Runtime API
GlsFontBase::FontAttr_t Struct Reference

Attributes of the specific font. More...

#include <gls_font_base.h>

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

Public Member Functions

 FontAttr_t ()
 

Public Attributes

std::string style
 
GLuint ptSize
 
GLuint descender
 
Char_t firstChar
 
Char_t lastChar
 
GLuint maxCharHeight
 
GLuint maxCharWidth
 
GLint underlinePos
 
GLuint underlineSize
 

Detailed Description

Attributes of the specific font.

Constructor & Destructor Documentation

FontAttr_t ( )
inline

thickness of the underline Default constructor to initialize font data to known values

Member Data Documentation

GLuint descender

Font point size

Char_t firstChar

Font descender in positive pixels

Char_t lastChar

First character code in the character set

GLuint maxCharHeight

Last character code in the character set

GLuint maxCharWidth

Maximum character height in pixels

GLuint ptSize

Font style. Eg. Bold

std::string style

Font family name. Eg. Arial

GLint underlinePos

Maximum character width in pixels

GLuint underlineSize

Position of the underline for underlined text


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