cohtml::CoherentToColor
#include <Property.h>
Public Functions
Name | |
---|---|
bool | Invoke(const T & v, renoir::Color * color) Convert from C++ value to a color. |
Detailed Description
template <typename T >
struct cohtml::CoherentToColor;
Public Functions Documentation
function Invoke
static inline bool Invoke(
const T & v,
renoir::Color * color
)
Convert from C++ value to a color.
Parameters:
- v - the C++ value
- color - output parameter for the value
Return: true - if the conversion was successful