TdkPointStyleImage Class Reference
[The Core Module]

#include <TdkPointStyleImage.h>

Inheritance diagram for TdkPointStyleImage:

TdkPointStyle TdkStyle List of all members.

Public Member Functions

 TdkPointStyleImage ()
virtual ~TdkPointStyleImage ()
bool setImage (int w, int h, unsigned char *r, unsigned char *g, unsigned char *b)
int getWidth ()
int getHeight ()
void colorTransp (TeColor color)
TeColor colorTransp ()
unsigned char * getRed ()
unsigned char * getGreen ()
unsigned char * getBlue ()
unsigned char * getAlpha ()
void setRed (unsigned char *red)
void setGreen (unsigned char *green)
void setBlue (unsigned char *blue)
void setAlpha (unsigned char *alpha)
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_
TeColor colorTransp_
unsigned char * red_
unsigned char * green_
unsigned char * blue_
unsigned char * alpha_

Detailed Description

TdkPointStyleImage class.


Constructor & Destructor Documentation

TdkPointStyleImage::TdkPointStyleImage (  ) 

TdkPointStyleImage::~TdkPointStyleImage (  )  [virtual]


Member Function Documentation

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

int TdkPointStyleImage::getWidth (  )  [inline]

int TdkPointStyleImage::getHeight (  )  [inline]

void TdkPointStyleImage::colorTransp ( TeColor  color  ) 

TeColor TdkPointStyleImage::colorTransp (  )  [inline]

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

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

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

unsigned char* TdkPointStyleImage::getAlpha (  )  [inline]

void TdkPointStyleImage::setRed ( unsigned char *  red  )  [inline]

void TdkPointStyleImage::setGreen ( unsigned char *  green  )  [inline]

void TdkPointStyleImage::setBlue ( unsigned char *  blue  )  [inline]

void TdkPointStyleImage::setAlpha ( unsigned char *  alpha  )  [inline]

bool TdkPointStyleImage::autoDraw (  )  [virtual]

Implements TdkPointStyle.

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

Reimplemented from TdkPointStyle.

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

Reimplemented from TdkPointStyle.

int TdkPointStyleImage::getBlobSize (  )  [virtual]

Returns the size of the style in blob format.

Reimplemented from TdkPointStyle.


Member Data Documentation

int TdkPointStyleImage::width_ [protected]

int TdkPointStyleImage::height_ [protected]

TeColor TdkPointStyleImage::colorTransp_ [protected]

unsigned char* TdkPointStyleImage::red_ [protected]

unsigned char* TdkPointStyleImage::green_ [protected]

unsigned char* TdkPointStyleImage::blue_ [protected]

unsigned char* TdkPointStyleImage::alpha_ [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