VR-Vantage API Documentation
List of all members | Public Member Functions | Public Attributes
makVrv::DtGlyph Class Reference

A class which represents a glyph instance. More...

Public Member Functions

 DtGlyph (const DtBoundingBox &bbox, DtPoint advance, int textureId, DtPoint origin, DtPoint size, DtPoint uv[2])
 ~DtGlyph ()
float horizontalAdvance () const
const DtBoundingBoxboundingBox () const
bool renderable () const
 Check to see if a glyph is renderable.

Public Attributes

int myTextureID
DtPoint myOrigin
DtPoint mySize
DtPoint myUVs [2]
DtPoint myAdvance
DtBoundingBox myBoundingBox

Detailed Description

A class which represents a glyph instance.

A font is made up of glyphs.

Constructor & Destructor Documentation

makVrv::DtGlyph::DtGlyph ( const DtBoundingBox bbox,
DtPoint  advance,
int  textureId,
DtPoint  origin,
DtPoint  size,
DtPoint  uv[2] 
)
makVrv::DtGlyph::~DtGlyph ( )

Member Function Documentation

float makVrv::DtGlyph::horizontalAdvance ( ) const
const DtBoundingBox& makVrv::DtGlyph::boundingBox ( ) const
bool makVrv::DtGlyph::renderable ( ) const
inline

Check to see if a glyph is renderable.

Member Data Documentation

int makVrv::DtGlyph::myTextureID
DtPoint makVrv::DtGlyph::myOrigin
DtPoint makVrv::DtGlyph::mySize
DtPoint makVrv::DtGlyph::myUVs[2]
DtPoint makVrv::DtGlyph::myAdvance
DtBoundingBox makVrv::DtGlyph::myBoundingBox

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


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)