Drag[en]gine Game Engine  1.0
deFontGlyph Class Reference

Text Font Glyph class. More...

#include <deFontGlyph.h>

Public Member Functions

Constructors and Destructors
 deFontGlyph ()
 
 ~deFontGlyph ()
 
Management
int GetCode () const
 
void SetCode (int code)
 
int GetU () const
 
void SetU (int u)
 
int GetV () const
 
void SetV (int v)
 
int GetWidth () const
 
void SetWidth (int width)
 
int GetBearing () const
 
void SetBearing (int bearing)
 
int GetAdvance () const
 
void SetAdvance (int advance)
 

Detailed Description

Text Font Glyph class.

Describes one glyph in a font.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ deFontGlyph()

deFontGlyph::deFontGlyph ( )

Creates a new font glyph.

◆ ~deFontGlyph()

deFontGlyph::~deFontGlyph ( )

Cleans up the font glyph.

Member Function Documentation

◆ GetAdvance()

int deFontGlyph::GetAdvance ( ) const
inline

Retrieves the advance in x direction.

References SetAdvance().

◆ GetBearing()

int deFontGlyph::GetBearing ( ) const
inline

Retrieves the bearing in x direction.

References SetBearing().

◆ GetCode()

int deFontGlyph::GetCode ( ) const
inline

Retrieves the code.

References SetCode().

◆ GetU()

int deFontGlyph::GetU ( ) const
inline

Retrieves the u position.

References SetU().

◆ GetV()

int deFontGlyph::GetV ( ) const
inline

Retrieves the v position.

References SetV().

◆ GetWidth()

int deFontGlyph::GetWidth ( ) const
inline

Retrieves the width.

References SetWidth().

◆ SetAdvance()

void deFontGlyph::SetAdvance ( int  advance)

Sets the advance in x direction.

Referenced by GetAdvance().

◆ SetBearing()

void deFontGlyph::SetBearing ( int  bearing)

Sets the bearing in x direction.

Referenced by GetBearing().

◆ SetCode()

void deFontGlyph::SetCode ( int  code)

Sets the code.

Referenced by GetCode().

◆ SetU()

void deFontGlyph::SetU ( int  u)

Sets the u position.

Referenced by GetU().

◆ SetV()

void deFontGlyph::SetV ( int  v)

Sets the v position.

Referenced by GetV().

◆ SetWidth()

void deFontGlyph::SetWidth ( int  width)

Sets the width.

Referenced by GetWidth().


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