TdkPointStyleBitmap Class Reference
[The Core Module]

#include <TdkPointStyleBitmap.h>

Inheritance diagram for TdkPointStyleBitmap:

TdkPointStyle TdkStyle List of all members.

Public Member Functions

 TdkPointStyleBitmap ()
virtual ~TdkPointStyleBitmap ()
void setDimensions (int w, int h)
int getWidth ()
int getHeight ()
bool getBit (int col, int lin, bool &bit)
bool setBit (int col, int lin, bool bit)
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_
char * bitmap_
int bitmap_size_
unsigned char * red_
unsigned char * green_
unsigned char * blue_
unsigned char * alpha_

Detailed Description

TdkPointStyleBitmap class.


Constructor & Destructor Documentation

TdkPointStyleBitmap::TdkPointStyleBitmap (  ) 

TdkPointStyleBitmap::~TdkPointStyleBitmap (  )  [virtual]


Member Function Documentation

void TdkPointStyleBitmap::setDimensions ( int  w,
int  h 
)

int TdkPointStyleBitmap::getWidth (  )  [inline]

int TdkPointStyleBitmap::getHeight (  )  [inline]

bool TdkPointStyleBitmap::getBit ( int  col,
int  lin,
bool &  bit 
)

bool TdkPointStyleBitmap::setBit ( int  col,
int  lin,
bool  bit 
)

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

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

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

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

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

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

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

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

bool TdkPointStyleBitmap::autoDraw (  )  [virtual]

Implements TdkPointStyle.

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

Reimplemented from TdkPointStyle.

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

Reimplemented from TdkPointStyle.

int TdkPointStyleBitmap::getBlobSize (  )  [virtual]

Returns the size of the style in blob format.

Reimplemented from TdkPointStyle.


Member Data Documentation

int TdkPointStyleBitmap::width_ [protected]

int TdkPointStyleBitmap::height_ [protected]

char* TdkPointStyleBitmap::bitmap_ [protected]

int TdkPointStyleBitmap::bitmap_size_ [protected]

unsigned char* TdkPointStyleBitmap::red_ [protected]

unsigned char* TdkPointStyleBitmap::green_ [protected]

unsigned char* TdkPointStyleBitmap::blue_ [protected]

unsigned char* TdkPointStyleBitmap::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