#include <TdkPointStyleImage.h>
Inheritance diagram for TdkPointStyleImage:

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_ |
| TdkPointStyleImage::TdkPointStyleImage | ( | ) |
| TdkPointStyleImage::~TdkPointStyleImage | ( | ) | [virtual] |
| 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] |
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] |
1.5.2