Antiprism 0.23
|
A colour map using values in an RGBA range. More...
#include <col_map.h>
Public Member Functions | |
~color_map_range_rgb () | |
Destructor. | |
virtual bool | init (const char *map_name, char *errmsg=0) |
Initialise from a string. | |
color_map * | clone () const |
Get a copy of the map. |
A colour map using values in an RGBA range.
color_map* color_map_range_rgb::clone | ( | ) | const [inline, virtual] |
Get a copy of the map.
delete
, 0 indicates that the clone failed. Reimplemented from color_map_range.
bool color_map_range_rgb::init | ( | const char * | map_name, |
char * | errmsg = 0 |
||
) | [virtual] |
Initialise from a string.
map_name | the map name. |
errmsg | an array at least MSG_SZ chars long to return any error message. |
Reimplemented from color_map_range.