TdkLineStyle Class Reference

#include <TdkLineStyle.h>

Inheritance diagram for TdkLineStyle:

TdkStyle TdkLineStyleBasic TdkLineStyleComposite TdkLineStyleCustomDashes TdkLineStylePeriodicSymbol List of all members.

Public Member Functions

 TdkLineStyle ()
 Default constructor.
virtual ~TdkLineStyle ()
 Virtual destructor.
TdkLineStylecopy ()
 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)
TdkPointStylevertex ()
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_
TdkPointStylevertexStyle_

Detailed Description

TdkLineStyle class. This class implements the basic drawing style for a line.


Constructor & Destructor Documentation

TdkLineStyle::TdkLineStyle (  ) 

Default constructor.

TdkLineStyle::~TdkLineStyle (  )  [virtual]

Virtual destructor.


Member Function Documentation

TdkLineStyle * TdkLineStyle::copy (  )  [virtual]

Copy method.

Implements TdkStyle.

void TdkLineStyle::subtype ( int  subtype  )  [inline]

TODO: mover para arquivo .inl. Sets the line style subtype.

Parameters:
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.


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:45 2007 for TDK by  doxygen 1.5.2