Main Page Class Hierarchy Compound List Compound Members Related Pages
ColorMapFont Class ReferenceThis class is a two dimensional color map.
More...
#include <ColorMapFont.h>
Inheritance diagram for ColorMapFont
[legend]Collaboration diagram for ColorMapFont:
[legend]List of all members.
Public Types |
| enum | { PROPERTY_FONT = 0x0200,
PROPERTY_TEXT = 0x0201,
PROPERTY_COLOR1 = 0x0202,
PROPERTY_COLOR2 = 0x0203
} |
Public Methods |
|
| DECLARE_CLASS (ColorMapFont,ColorMap) |
|
| ColorMapFont () |
|
virtual | ~ColorMapFont () |
|
virtual void | setProperty (int nProperty,const Variant &vValue) |
|
virtual void | getProperty (int nProperty,Variant &vValue) |
|
virtual Color | getColor (const double value) |
|
virtual Color | getColor (const Vector2 value) |
|
virtual Color | getColor (const Vector3 value) |
Protected Attributes |
|
string | fontName |
|
string | text |
|
Color | color1 |
|
Color | color2 |
|
Font* | font |
|
FontMap* | pixmap |
|
bool | valid |
Detailed Description
This class is a two dimensional color map.
It uses the two dimensional vector to address the coordinates of an image. The image is held in a bitmap object. -
Author(s):
-
Stefan Michel
-
See also:
-
Bitmap , XYZPigment , Pattern
The documentation for this class was generated from the following file:
|