TdkPointStyle Class Reference
[The Core Module]

Defines the TdkPointStyle class. More...

#include <TdkPointStyle.h>

Inheritance diagram for TdkPointStyle:

TdkStyle TdkPointStyleBasic TdkPointStyleBitmap TdkPointStyleChar TdkPointStyleComposite TdkPointStyleImage List of all members.

Public Member Functions

 TdkPointStyle ()
virtual ~TdkPointStyle ()
TdkPointStylecopy ()
void setSubtype (int subtype)
int getSubtype ()
void setColor (TeColor &c)
TeColor & getColor ()
void setTransparency (int transp)
int getTransparency ()
void setFixedColor (bool fixColor)
bool getFixedColor ()
void setSize (int s)
int getSize ()
void setFixedSize (bool fixSize)
bool getFixedSize ()
void setOffsetX (double dx)
double getOffsetX ()
void setOffsetY (double dy)
double getOffsetY ()
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 size_
bool fixedSize_
double offsetX_
double offsetY_

Detailed Description

Defines the TdkPointStyle class.


Constructor & Destructor Documentation

TdkPointStyle::TdkPointStyle (  ) 

TdkPointStyle::~TdkPointStyle (  )  [virtual]


Member Function Documentation

TdkPointStyle * TdkPointStyle::copy (  )  [virtual]

Implements TdkStyle.

void TdkPointStyle::setSubtype ( int  subtype  )  [inline]

int TdkPointStyle::getSubtype (  )  [inline]

void TdkPointStyle::setColor ( TeColor &  c  )  [inline, virtual]

Implements TdkStyle.

TeColor & TdkPointStyle::getColor (  )  [inline]

void TdkPointStyle::setTransparency ( int  transp  )  [inline]

int TdkPointStyle::getTransparency (  )  [inline]

void TdkPointStyle::setFixedColor ( bool  fixColor  )  [inline]

bool TdkPointStyle::getFixedColor (  )  [inline]

void TdkPointStyle::setSize ( int  s  )  [inline]

int TdkPointStyle::getSize (  )  [inline]

void TdkPointStyle::setFixedSize ( bool  fixSize  )  [inline]

bool TdkPointStyle::getFixedSize (  )  [inline]

void TdkPointStyle::setOffsetX ( double  dx  )  [inline]

double TdkPointStyle::getOffsetX (  )  [inline]

void TdkPointStyle::setOffsetY ( double  dy  )  [inline]

double TdkPointStyle::getOffsetY (  )  [inline]

virtual bool TdkPointStyle::autoDraw (  )  [pure virtual]

Implemented in TdkPointStyleBasic, TdkPointStyleBitmap, TdkPointStyleChar, TdkPointStyleComposite, and TdkPointStyleImage.

bool TdkPointStyle::toBlob ( TdkBlob blob  )  [virtual]

Implements TdkStyle.

Reimplemented in TdkPointStyleBasic, TdkPointStyleBitmap, TdkPointStyleChar, TdkPointStyleComposite, and TdkPointStyleImage.

bool TdkPointStyle::load ( TdkBlob blob,
TdkStyleVersion  version = TeCurrentStyleVer 
) [virtual]

Implements TdkStyle.

Reimplemented in TdkPointStyleBasic, TdkPointStyleBitmap, TdkPointStyleChar, TdkPointStyleComposite, and TdkPointStyleImage.

int TdkPointStyle::getBlobSize (  )  [virtual]

Returns the size of the style in blob format.

Implements TdkStyle.

Reimplemented in TdkPointStyleBasic, TdkPointStyleBitmap, TdkPointStyleChar, TdkPointStyleComposite, and TdkPointStyleImage.


Member Data Documentation

int TdkPointStyle::subtype_ [protected]

TeColor TdkPointStyle::color_ [protected]

bool TdkPointStyle::fixedColor_ [protected]

int TdkPointStyle::transparency_ [protected]

int TdkPointStyle::size_ [protected]

bool TdkPointStyle::fixedSize_ [protected]

double TdkPointStyle::offsetX_ [protected]

double TdkPointStyle::offsetY_ [protected]


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