TdkPolygonStyleImage Class Reference
[The Core Module]

#include <TdkPolygonStyleImage.h>

Inheritance diagram for TdkPolygonStyleImage:

TdkPolygonStyle TdkStyle List of all members.

Public Member Functions

 TdkPolygonStyleImage ()
virtual ~TdkPolygonStyleImage ()
bool setImage (int w, int h, unsigned char *r, unsigned char *g, unsigned char *b)
int getWidth ()
int getHeight ()
unsigned char * getRed ()
unsigned char * getGreen ()
unsigned char * getBlue ()
virtual bool autoDraw ()
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 width_
int height_
unsigned char * red_
unsigned char * green_
unsigned char * blue_

Detailed Description

TdkPolygonStyleImage class. This class is an example on how to comment the code.


Constructor & Destructor Documentation

TdkPolygonStyleImage::TdkPolygonStyleImage (  ) 

TdkPolygonStyleImage::~TdkPolygonStyleImage (  )  [virtual]


Member Function Documentation

bool TdkPolygonStyleImage::setImage ( int  w,
int  h,
unsigned char *  r,
unsigned char *  g,
unsigned char *  b 
)

int TdkPolygonStyleImage::getWidth (  )  [inline]

int TdkPolygonStyleImage::getHeight (  )  [inline]

unsigned char* TdkPolygonStyleImage::getRed (  )  [inline]

unsigned char* TdkPolygonStyleImage::getGreen (  )  [inline]

unsigned char* TdkPolygonStyleImage::getBlue (  )  [inline]

bool TdkPolygonStyleImage::autoDraw (  )  [virtual]

Implements TdkPolygonStyle.

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

Reimplemented from TdkPolygonStyle.

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

Reimplemented from TdkPolygonStyle.

int TdkPolygonStyleImage::getBlobSize (  )  [virtual]

Returns the size of the style in blob format.

Reimplemented from TdkPolygonStyle.


Member Data Documentation

int TdkPolygonStyleImage::width_ [protected]

int TdkPolygonStyleImage::height_ [protected]

unsigned char* TdkPolygonStyleImage::red_ [protected]

unsigned char* TdkPolygonStyleImage::green_ [protected]

unsigned char* TdkPolygonStyleImage::blue_ [protected]


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