Skip to content
SiteEmail

cohtml::CoherentToColor

More…

#include <Property.h>

Name
boolInvoke(const T & v, renoir::Color * color)
Convert from C++ value to a color.
template <typename T >
struct cohtml::CoherentToColor;
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