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