#include <TdkTextStyleShadowed.h>
Inheritance diagram for TdkTextStyleShadowed:

Public Member Functions | |
| TdkTextStyleShadowed () | |
| virtual | ~TdkTextStyleShadowed () |
| 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 | shadowColor (TeColor &color) |
| Set the shadow color. | |
| virtual TeColor & | shadowColor () |
| It returns the shadow color. | |
| virtual void | shadowDepth (unsigned int value) |
| Set the deepth value. | |
| virtual unsigned int | shadowDepth () |
| It returns the shadow depth. | |
| virtual bool | toBlob (TdkBlob *blob) |
| To Blob. | |
| virtual bool | load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer) |
| Load. | |
| virtual int | getBlobSize () |
| Blob Size. | |
| TdkTextStyleShadowed () | |
| virtual | ~TdkTextStyleShadowed () |
| virtual bool | autoDraw () |
| Auto Draw the text. | |
| virtual void | setColor (TeColor &color) |
| Not Used. | |
| virtual void | shadowColor (TeColor &color) |
| Set the shadow color. | |
| virtual TeColor & | shadowColor () |
| It returns the shadow color. | |
| virtual void | shadowDepth (unsigned int value) |
| Set the deepth value. | |
| virtual unsigned int | shadowDepth () |
| It returns the shadow depth. | |
| 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 | _shadowDepth |
| depth value of shadow | |
| TeColor | _shadowColor |
| shadow color | |
| TdkTextStyleShadowed::TdkTextStyleShadowed | ( | ) |
| TdkTextStyleShadowed::~TdkTextStyleShadowed | ( | ) | [virtual] |
| TdkTextStyleShadowed::TdkTextStyleShadowed | ( | ) |
| virtual TdkTextStyleShadowed::~TdkTextStyleShadowed | ( | ) | [virtual] |
| bool TdkTextStyleShadowed::autoDraw | ( | ) | [virtual] |
| void TdkTextStyleShadowed::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 TdkTextStyleShadowed::drawSample | ( | TdkCanvas * | canvas, | |
| int | x, | |||
| int | y, | |||
| TeColor & | externColor | |||
| ) | [virtual] |
| void TdkTextStyleShadowed::setColor | ( | TeColor & | color | ) | [virtual] |
| void TdkTextStyleShadowed::shadowColor | ( | TeColor & | color | ) | [virtual] |
Set the shadow color.
| shadow | color value |
| TeColor & TdkTextStyleShadowed::shadowColor | ( | ) | [virtual] |
It returns the shadow color.
| void TdkTextStyleShadowed::shadowDepth | ( | unsigned int | value | ) | [virtual] |
Set the deepth value.
| depth | value to shadow |
| unsigned int TdkTextStyleShadowed::shadowDepth | ( | ) | [virtual] |
It returns the shadow depth.
| bool TdkTextStyleShadowed::toBlob | ( | TdkBlob * | blob | ) | [virtual] |
To Blob.
Method to transform a shadow class to binary
| blob | binary |
Reimplemented from TdkTextStyle.
| bool TdkTextStyleShadowed::load | ( | TdkBlob * | blob, | |
| TdkStyleVersion | version = TeCurrentStyleVer | |||
| ) | [virtual] |
Load.
Transform a binary item to shadow class
| blob | binary |
| version | Tdk Version |
Reimplemented from TdkTextStyle.
| int TdkTextStyleShadowed::getBlobSize | ( | ) | [virtual] |
| virtual bool TdkTextStyleShadowed::autoDraw | ( | ) | [virtual] |
| virtual void TdkTextStyleShadowed::setColor | ( | TeColor & | color | ) | [virtual] |
| virtual void TdkTextStyleShadowed::shadowColor | ( | TeColor & | color | ) | [virtual] |
Set the shadow color.
| shadow | color value |
| virtual TeColor& TdkTextStyleShadowed::shadowColor | ( | ) | [virtual] |
It returns the shadow color.
| virtual void TdkTextStyleShadowed::shadowDepth | ( | unsigned int | value | ) | [virtual] |
Set the deepth value.
| depth | value to shadow |
| virtual unsigned int TdkTextStyleShadowed::shadowDepth | ( | ) | [virtual] |
It returns the shadow depth.
| virtual bool TdkTextStyleShadowed::toBlob | ( | TdkBlob * | blob | ) | [virtual] |
To Blob.
Method to transform a shadow class to binary
| blob | binary |
Reimplemented from TdkTextStyle.
| virtual bool TdkTextStyleShadowed::load | ( | TdkBlob * | blob, | |
| TdkStyleVersion | version = TeCurrentStyleVer | |||
| ) | [virtual] |
Load.
Transform a binary item to shadow class
| blob | binary |
| version | Tdk Version |
Reimplemented from TdkTextStyle.
| virtual int TdkTextStyleShadowed::getBlobSize | ( | ) | [virtual] |
unsigned int TdkTextStyleShadowed::_shadowDepth [protected] |
depth value of shadow
TeColor TdkTextStyleShadowed::_shadowColor [protected] |
shadow color
1.5.2