VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtTextProxy Class Reference

A class for controlling text owned by the TextRenderer. More...

Public Member Functions

 ~DtTextProxy ()
 DTOR.
void setAlignment (DtFont::TextAlignement alignment)
 Set the position.
void setPosition (float x, float y, float z, float w=0)
 Set the position.
void setRotation (float angle)
 Set the rotation.
void setColor (float r, float g, float b, float a)
 Set the color of the text.
void setString (const DtUnicode &str)
 Set the text string.
const DtUnicodestring () const
 Gets the text string.
void setFont (DtFontSP font)
 Set the font to render using.
DtFontSP font ()
 Get the font rendering.
void setBounds (const DtBoundingBox &box)
 Set the bounds of the text.
void setGroup (unsigned int group)
 Sets the text group.
unsigned int group () const
 Gets the group of the text.

Protected Member Functions

 DtTextProxy (DtTextRenderer *parent)
 CTOR.
DtTextProxyclone (DtTextRenderer *parent) const
 Clone the given DtTextProxy.

Protected Attributes

DtTextRenderermyParent
float myRotation
float myPosition [4]
float myColor [4]
unsigned int myGroup
DtFont::TextAlignement myAlignment
DtUnicode myString
DtBoundingBox myBounds
DtFontSP myFont

Friends

class DtTextRenderer

Detailed Description

A class for controlling text owned by the TextRenderer.

Constructor & Destructor Documentation

makVrv::DtTextProxy::~DtTextProxy ( )

DTOR.

makVrv::DtTextProxy::DtTextProxy ( DtTextRenderer parent)
protected

CTOR.

Member Function Documentation

void makVrv::DtTextProxy::setAlignment ( DtFont::TextAlignement  alignment)

Set the position.

void makVrv::DtTextProxy::setPosition ( float  x,
float  y,
float  z,
float  w = 0 
)

Set the position.

void makVrv::DtTextProxy::setRotation ( float  angle)

Set the rotation.

void makVrv::DtTextProxy::setColor ( float  r,
float  g,
float  b,
float  a 
)

Set the color of the text.

void makVrv::DtTextProxy::setString ( const DtUnicode str)

Set the text string.

const DtUnicode& makVrv::DtTextProxy::string ( ) const

Gets the text string.

void makVrv::DtTextProxy::setFont ( DtFontSP  font)

Set the font to render using.

DtFontSP makVrv::DtTextProxy::font ( )

Get the font rendering.

void makVrv::DtTextProxy::setBounds ( const DtBoundingBox box)

Set the bounds of the text.

void makVrv::DtTextProxy::setGroup ( unsigned int  group)

Sets the text group.

unsigned int makVrv::DtTextProxy::group ( ) const

Gets the group of the text.

DtTextProxy* makVrv::DtTextProxy::clone ( DtTextRenderer parent) const
protected

Clone the given DtTextProxy.

Friends And Related Function Documentation

friend class DtTextRenderer
friend

Member Data Documentation

DtTextRenderer* makVrv::DtTextProxy::myParent
protected
float makVrv::DtTextProxy::myRotation
protected
float makVrv::DtTextProxy::myPosition[4]
protected
float makVrv::DtTextProxy::myColor[4]
protected
unsigned int makVrv::DtTextProxy::myGroup
protected
DtFont::TextAlignement makVrv::DtTextProxy::myAlignment
protected
DtUnicode makVrv::DtTextProxy::myString
protected
DtBoundingBox makVrv::DtTextProxy::myBounds
protected
DtFontSP makVrv::DtTextProxy::myFont
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)