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

Character attributes. One item for each character in the set. More...

#include <gls_unicode_font_base.h>

Inheritance diagram for GlsUnicodeFontBase::CharAttrUnicode_t:
GlsFontBase::CharAttr_t

Public Member Functions

 CharAttrUnicode_t ()
 
- Public Member Functions inherited from GlsFontBase::CharAttr_t
 CharAttr_t ()
 Default constructor to initialize character attribute data to known values. More...
 

Public Attributes

unsigned int textureIndex
 
unsigned int glyphIndex
 
- Public Attributes inherited from GlsFontBase::CharAttr_t
GLfloat height
 
GLfloat varTexX1
 
GLfloat varTexX2
 
GLfloat fixedTexX1
 
GLfloat fixedTexX2
 
GLfloat varTexY1
 
GLfloat varTexY2
 
GLfloat fixedTexY1
 
GLfloat fixedTexY2
 
GLfloat horiBearingX
 
GLfloat horiBearingY
 
GLfloat horiAdvance
 
GLfloat vertBearingX
 
GLfloat vertBearingY
 
GLfloat vertAdvance
 

Detailed Description

Character attributes. One item for each character in the set.

Constructor & Destructor Documentation

CharAttrUnicode_t ( )
inline

Default constructor to initialize character attribute data to known values

Member Data Documentation

unsigned int glyphIndex

Index of the glyph. This is needed since glyphs are not assumed to be contiguous

unsigned int textureIndex

Index of the texture that contains the glyph


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