#include <TdkTextStyleHallow.h>
Inheritance diagram for TdkTextStyleHallow:
Public Member Functions | |
TdkTextStyleHallow () | |
virtual | ~TdkTextStyleHallow () |
virtual bool | autoDraw () |
Auto Draw the text. | |
virtual void | draw (TdkCanvas *canvas, TeText &text, TeColor &externColor, double externWidthFactor) |
Draw Text. | |
virtual void | drawSample (TdkCanvas *canvas, int x, int y, TeColor &externColor) |
Draw Sample Text. | |
virtual void | setColor (TeColor &color) |
Not Used. | |
virtual void | hallowColor (TeColor &color) |
It set the hallow color. | |
virtual TeColor & | hallowColor () |
It returns the hallow color. | |
virtual void | hallowValue (unsigned int value) |
It set hallow value. | |
virtual unsigned int | hallowValue () |
It returns the hallow value. | |
virtual bool | toBlob (TdkBlob *blob) |
To Blob. | |
virtual bool | load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer) |
Load. | |
virtual int | getBlobSize () |
Blob Size. | |
TdkTextStyleHallow () | |
virtual | ~TdkTextStyleHallow () |
virtual bool | autoDraw () |
Auto Draw the text. | |
virtual void | setColor (TeColor &color) |
Not Used. | |
virtual void | hallowColor (TeColor &color) |
It set the hallow color. | |
virtual TeColor & | hallowColor () |
It returns the hallow color. | |
virtual void | hallowValue (unsigned int value) |
It set hallow value. | |
virtual unsigned int | hallowValue () |
It returns the hallow value. | |
virtual bool | toBlob (TdkBlob *blob) |
To Blob. | |
virtual bool | load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer) |
Load. | |
virtual int | getBlobSize () |
Blob Size. | |
Protected Attributes | |
unsigned int | _hallowValue |
TeColor | _hallowColor |
TdkTextStyleHallow::TdkTextStyleHallow | ( | ) |
TdkTextStyleHallow::~TdkTextStyleHallow | ( | ) | [virtual] |
TdkTextStyleHallow::TdkTextStyleHallow | ( | ) |
virtual TdkTextStyleHallow::~TdkTextStyleHallow | ( | ) | [virtual] |
bool TdkTextStyleHallow::autoDraw | ( | ) | [virtual] |
void TdkTextStyleHallow::draw | ( | TdkCanvas * | canvas, | |
TeText & | text, | |||
TeColor & | externColor, | |||
double | externWidthFactor | |||
) | [virtual] |
Draw Text.
Draw text with tdk canvas
canvas | Tdk Canvas | |
text | text to draw | |
externColor | extern color |
Implements TdkTextStyle.
void TdkTextStyleHallow::drawSample | ( | TdkCanvas * | canvas, | |
int | x, | |||
int | y, | |||
TeColor & | externColor | |||
) | [virtual] |
void TdkTextStyleHallow::setColor | ( | TeColor & | color | ) | [virtual] |
void TdkTextStyleHallow::hallowColor | ( | TeColor & | color | ) | [virtual] |
It set the hallow color.
color | color value of hallow |
TeColor & TdkTextStyleHallow::hallowColor | ( | ) | [virtual] |
It returns the hallow color.
void TdkTextStyleHallow::hallowValue | ( | unsigned int | value | ) | [virtual] |
It set hallow value.
value | hallow value |
unsigned int TdkTextStyleHallow::hallowValue | ( | ) | [virtual] |
It returns the hallow value.
bool TdkTextStyleHallow::toBlob | ( | TdkBlob * | blob | ) | [virtual] |
To Blob.
It transform the TdkTextStyleHallow to binary item
blob | binary data |
Reimplemented from TdkTextStyle.
bool TdkTextStyleHallow::load | ( | TdkBlob * | blob, | |
TdkStyleVersion | version = TeCurrentStyleVer | |||
) | [virtual] |
Load.
It transform the binary item to TdkTextStyleHallow class object
blob | binary data |
version | Tdk Version |
Reimplemented from TdkTextStyle.
int TdkTextStyleHallow::getBlobSize | ( | ) | [virtual] |
Blob Size.
Method to return the binary size that object will occupy
Reimplemented from TdkTextStyle.
virtual bool TdkTextStyleHallow::autoDraw | ( | ) | [virtual] |
virtual void TdkTextStyleHallow::setColor | ( | TeColor & | color | ) | [virtual] |
virtual void TdkTextStyleHallow::hallowColor | ( | TeColor & | color | ) | [virtual] |
It set the hallow color.
color | color value of hallow |
virtual TeColor& TdkTextStyleHallow::hallowColor | ( | ) | [virtual] |
It returns the hallow color.
virtual void TdkTextStyleHallow::hallowValue | ( | unsigned int | value | ) | [virtual] |
It set hallow value.
value | hallow value |
virtual unsigned int TdkTextStyleHallow::hallowValue | ( | ) | [virtual] |
It returns the hallow value.
virtual bool TdkTextStyleHallow::toBlob | ( | TdkBlob * | blob | ) | [virtual] |
To Blob.
It transform the TdkTextStyleHallow to binary item
blob | binary data |
Reimplemented from TdkTextStyle.
virtual bool TdkTextStyleHallow::load | ( | TdkBlob * | blob, | |
TdkStyleVersion | version = TeCurrentStyleVer | |||
) | [virtual] |
Load.
It transform the binary item to TdkTextStyleHallow class object
blob | binary data |
version | Tdk Version |
Reimplemented from TdkTextStyle.
virtual int TdkTextStyleHallow::getBlobSize | ( | ) | [virtual] |
Blob Size.
Method to return the binary size that object will occupy
Reimplemented from TdkTextStyle.
unsigned int TdkTextStyleHallow::_hallowValue [protected] |
TeColor TdkTextStyleHallow::_hallowColor [protected] |