version 3.3

VRS::TEXT::TextScreenScale Class Reference

A scaler resizing a text so that it will be rendered matching on the screen. More...

#include <vrs/text/textscreenscale.h>

Inheritance diagram for VRS::TEXT::TextScreenScale:

VRS::Transform VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 TextScreenScale (SO< TextureText > tt=NULL, SO< FontSize > fs=NULL)
virtual ~TextScreenScale ()
 Destructor.
virtual const Matrixmatrix (Engine *engine=0) const
 Returns the Matrix for this transform.
 VRS_TYPEINFO (TextScreenScale, Transform)
 VRS_SERIALIZABLE (TextScreenScale)

Protected Attributes

SO< TextureTextm_Text
SO< FontSizem_FontSize
Matrix m_Matrix


Detailed Description

A scaler resizing a text so that it will be rendered matching on the screen.

Constructor & Destructor Documentation

VRS::TEXT::TextScreenScale::TextScreenScale ( SO< TextureText tt = NULL,
SO< FontSize fs = NULL 
)

Parameters:
tt The Text whose size will be used for generating the matrix
fs The FontSize to be displayed

virtual VRS::TEXT::TextScreenScale::~TextScreenScale (  )  [virtual]

Destructor.


Member Function Documentation

virtual const Matrix& VRS::TEXT::TextScreenScale::matrix ( Engine engine = 0  )  const [virtual]

Returns the Matrix for this transform.

Implements VRS::Transform.

VRS::TEXT::TextScreenScale::VRS_TYPEINFO ( TextScreenScale  ,
Transform   
)

VRS::TEXT::TextScreenScale::VRS_SERIALIZABLE ( TextScreenScale   ) 


Member Data Documentation


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

Generated on Wed May 23 06:00:35 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact