Interface for a DtWindowTextInstance An object that draws a 2D text.
More...
Public Member Functions |
| virtual | ~DtWindowTextInstance () |
| | DTOR.
|
| virtual void | setTopLeftCorner (float x, float y)=0 |
| | Set the Top left corner of the text in normalized screen coordinates (0..1)
|
| virtual void | setVisible (bool isVisible)=0 |
| | Set the text visible or invisible.
|
| virtual void | setColor (float r, float g, float b, float a)=0 |
| | Set the text's color.
|
| virtual void | setText (const std::string &textString)=0 |
| | Set the text to display.
|
| virtual void | setFont (const std::string &fontFile, float sizeInPoints)=0 |
| | Set the font file and size in points to display the text in.
|
| virtual void | setTextBoxWidth (unsigned int widthInPixels)=0 |
| | Set the width of the text box in pixels.
|
| virtual void | setAlignment (DtWindowText::TextAlignment alignment)=0 |
| | Set the alignment mode of the text.
|
| virtual | ~DtSetVisibilityInterface () |
Detailed Description
Interface for a DtWindowTextInstance An object that draws a 2D text.
Member Typedef Documentation
Constructor & Destructor Documentation
| virtual makVrv::DtWindowTextInstance::~DtWindowTextInstance |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtWindowTextInstance::setTopLeftCorner |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtWindowTextInstance::setVisible |
( |
bool |
isVisible | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowTextInstance::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtWindowTextInstance::setText |
( |
const std::string & |
textString | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowTextInstance::setFont |
( |
const std::string & |
fontFile, |
|
|
float |
sizeInPoints |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtWindowTextInstance::setTextBoxWidth |
( |
unsigned int |
widthInPixels | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: