VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgTextStyle Class Reference
Inheritance diagram for trpgTextStyle:
Inheritance graph
[legend]

Public Member Functions

 trpgTextStyle (void)
 ~trpgTextStyle (void)
bool operator== (const trpgTextStyle &) const
void SetMaterial (int)
 Set the material ID. Should point into trpgMatTable.
int GetMaterial (void) const
 Get the material ID. Points into trpgMatTable.
void SetFont (std::string &)
 Set the font description.
const std::string * GetFont (void) const
 Get the font description.
void SetBold (bool)
 Set bold to on/off.
bool GetBold (void) const
 Return value of bold status.
void SetItalic (bool)
 Set italic on/off.
bool GetItalic (void) const
 Return value of italic status.
void SetUnderline (bool)
 Set underline on/off.
bool GetUnderline (void) const
 Return value of underline status.
void SetCharacterSize (float32)
 Set character size: MUST BE IN METER.
float32 GetCharacterSize (void) const
 Get character (e.g. font) size.
bool Write (trpgWriteBuffer &)
 Write this class to a write buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
void Reset (void)
 Reset the contents back to empty.
bool isValid (void) const
 Return object validity.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

std::string font
bool bold
bool italic
bool underline
float32 characterSize
int matId
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Constructor & Destructor Documentation

trpgTextStyle::trpgTextStyle ( void  )
trpgTextStyle::~trpgTextStyle ( void  )

Member Function Documentation

bool trpgTextStyle::operator== ( const trpgTextStyle ) const
void trpgTextStyle::SetMaterial ( int  )

Set the material ID. Should point into trpgMatTable.

int trpgTextStyle::GetMaterial ( void  ) const

Get the material ID. Points into trpgMatTable.

void trpgTextStyle::SetFont ( std::string &  )

Set the font description.

const std::string* trpgTextStyle::GetFont ( void  ) const

Get the font description.

void trpgTextStyle::SetBold ( bool  )

Set bold to on/off.

bool trpgTextStyle::GetBold ( void  ) const

Return value of bold status.

void trpgTextStyle::SetItalic ( bool  )

Set italic on/off.

bool trpgTextStyle::GetItalic ( void  ) const

Return value of italic status.

void trpgTextStyle::SetUnderline ( bool  )

Set underline on/off.

bool trpgTextStyle::GetUnderline ( void  ) const

Return value of underline status.

void trpgTextStyle::SetCharacterSize ( float32  )

Set character size: MUST BE IN METER.

float32 trpgTextStyle::GetCharacterSize ( void  ) const

Get character (e.g. font) size.

bool trpgTextStyle::Write ( trpgWriteBuffer )
virtual

Write this class to a write buffer.

Implements trpgReadWriteable.

bool trpgTextStyle::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgTextStyle::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgTextStyle::Reset ( void  )
virtual

Reset the contents back to empty.

Implements trpgReadWriteable.

bool trpgTextStyle::isValid ( void  ) const

Return object validity.

Reimplemented from trpgCheckable.

Member Data Documentation

std::string trpgTextStyle::font
protected
bool trpgTextStyle::bold
protected
bool trpgTextStyle::italic
protected
bool trpgTextStyle::underline
protected
float32 trpgTextStyle::characterSize
protected
int trpgTextStyle::matId
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)