VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, Dt2dPoint advance, int textureId, Dt2dPoint origin, Dt2dPoint size, Dt2dPoint uv[2])
 ~DtGlyph ()
float horizontalAdvance () const
const DtBoundingBoxboundingBox () const
bool renderable () const
 Check to see if a glyph is renderable.

Public Attributes

int myTextureID
Dt2dPoint myOrigin
Dt2dPoint mySize
Dt2dPoint myUVs [2]
Dt2dPoint 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,
Dt2dPoint  advance,
int  textureId,
Dt2dPoint  origin,
Dt2dPoint  size,
Dt2dPoint  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
Dt2dPoint makVrv::DtGlyph::myOrigin
Dt2dPoint makVrv::DtGlyph::mySize
Dt2dPoint makVrv::DtGlyph::myUVs[2]
Dt2dPoint makVrv::DtGlyph::myAdvance
DtBoundingBox makVrv::DtGlyph::myBoundingBox

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)