#include <TdkLineStyle.h>
Inheritance diagram for TdkLineStyle:
Public Member Functions | |
TdkLineStyle () | |
Default constructor. | |
virtual | ~TdkLineStyle () |
Virtual destructor. | |
TdkLineStyle * | copy () |
Copy method. | |
void | subtype (int subtype) |
int | subtype () |
Gets the line style subtype. | |
void | setColor (TeColor &c) |
TeColor & | color () |
void | transparency (int transp) |
int | transparency () |
void | fixedColor (bool fixColor) |
bool | fixedColor () |
void | width (int w) |
int | width () |
void | fixedWidth (bool fixWidth) |
bool | fixedWidth () |
void | offset (double os) |
double | offset () |
void | vertex (TdkPointStyle *vtx) |
TdkPointStyle * | vertex () |
virtual bool | autoDraw ()=0 |
virtual bool | toBlob (TdkBlob *blob) |
virtual bool | load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer) |
virtual int | getBlobSize () |
Returns the size of the style in blob format. | |
Protected Attributes | |
int | subtype_ |
TeColor | color_ |
bool | fixedColor_ |
int | transparency_ |
int | width_ |
bool | fixedWidth_ |
double | offset_ |
TdkPointStyle * | vertexStyle_ |
TdkLineStyle::TdkLineStyle | ( | ) |
Default constructor.
TdkLineStyle::~TdkLineStyle | ( | ) | [virtual] |
Virtual destructor.
TdkLineStyle * TdkLineStyle::copy | ( | ) | [virtual] |
void TdkLineStyle::subtype | ( | int | subtype | ) | [inline] |
TODO: mover para arquivo .inl. Sets the line style subtype.
Line | subtype to be set to the object. |
int TdkLineStyle::subtype | ( | ) | [inline] |
Gets the line style subtype.
void TdkLineStyle::setColor | ( | TeColor & | c | ) | [inline, virtual] |
Implements TdkStyle.
TeColor& TdkLineStyle::color | ( | ) | [inline] |
void TdkLineStyle::transparency | ( | int | transp | ) | [inline] |
int TdkLineStyle::transparency | ( | ) | [inline] |
void TdkLineStyle::fixedColor | ( | bool | fixColor | ) | [inline] |
bool TdkLineStyle::fixedColor | ( | ) | [inline] |
void TdkLineStyle::width | ( | int | w | ) |
int TdkLineStyle::width | ( | ) | [inline] |
void TdkLineStyle::fixedWidth | ( | bool | fixWidth | ) | [inline] |
bool TdkLineStyle::fixedWidth | ( | ) | [inline] |
void TdkLineStyle::offset | ( | double | os | ) | [inline] |
double TdkLineStyle::offset | ( | ) | [inline] |
void TdkLineStyle::vertex | ( | TdkPointStyle * | vtx | ) |
TdkPointStyle* TdkLineStyle::vertex | ( | ) | [inline] |
virtual bool TdkLineStyle::autoDraw | ( | ) | [pure virtual] |
Implemented in TdkLineStyleBasic, TdkLineStyleComposite, TdkLineStyleCustomDashes, and TdkLineStylePeriodicSymbol.
bool TdkLineStyle::toBlob | ( | TdkBlob * | blob | ) | [virtual] |
Implements TdkStyle.
Reimplemented in TdkLineStyleBasic, TdkLineStyleComposite, TdkLineStyleCustomDashes, and TdkLineStylePeriodicSymbol.
bool TdkLineStyle::load | ( | TdkBlob * | blob, | |
TdkStyleVersion | version = TeCurrentStyleVer | |||
) | [virtual] |
Implements TdkStyle.
Reimplemented in TdkLineStyleBasic, TdkLineStyleComposite, TdkLineStyleCustomDashes, and TdkLineStylePeriodicSymbol.
int TdkLineStyle::getBlobSize | ( | ) | [virtual] |
Returns the size of the style in blob format.
Implements TdkStyle.
Reimplemented in TdkLineStyleBasic, TdkLineStyleComposite, TdkLineStyleCustomDashes, and TdkLineStylePeriodicSymbol.
int TdkLineStyle::subtype_ [protected] |
TeColor TdkLineStyle::color_ [protected] |
bool TdkLineStyle::fixedColor_ [protected] |
int TdkLineStyle::transparency_ [protected] |
int TdkLineStyle::width_ [protected] |
bool TdkLineStyle::fixedWidth_ [protected] |
double TdkLineStyle::offset_ [protected] |
TdkPointStyle* TdkLineStyle::vertexStyle_ [protected] |