Cafu Engine
GlyphInfoT Struct Reference

Public Attributes

unsigned long GlyphIndex
 
float BearingX
 The horizontal offset of the bitmap relative to the cursor position. More...
 
float BearingY
 The vertical offset of the bitmap relative to the cursor position (y-axis points up!). More...
 
float AdvanceX
 How much the cursor position should be advanced horizontally for rendering the next character. More...
 
int Width
 The width in pixels of the bitmap of this glyph. More...
 
int Height
 The height in pixels of the bitmap of this glyph. More...
 
int BitmapNr
 The index of the larger bitmap this glyphs bitmap is embedded in. More...
 
float s1
 The s1 tex-coord into the larger bitmap. More...
 
float t1
 The t1 tex-coord into the larger bitmap. More...
 
float s2
 The s2 tex-coord into the larger bitmap. More...
 
float t2
 The t2 tex-coord into the larger bitmap. More...
 

Member Data Documentation

float GlyphInfoT::AdvanceX

How much the cursor position should be advanced horizontally for rendering the next character.

float GlyphInfoT::BearingX

The horizontal offset of the bitmap relative to the cursor position.

float GlyphInfoT::BearingY

The vertical offset of the bitmap relative to the cursor position (y-axis points up!).

int GlyphInfoT::BitmapNr

The index of the larger bitmap this glyphs bitmap is embedded in.

int GlyphInfoT::Height

The height in pixels of the bitmap of this glyph.

float GlyphInfoT::s1

The s1 tex-coord into the larger bitmap.

float GlyphInfoT::s2

The s2 tex-coord into the larger bitmap.

float GlyphInfoT::t1

The t1 tex-coord into the larger bitmap.

float GlyphInfoT::t2

The t2 tex-coord into the larger bitmap.

int GlyphInfoT::Width

The width in pixels of the bitmap of this glyph.


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