Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
Color.cpp File Reference
#include "cinder/Color.h"
#include "cinder/Vector.h"
#include <boost/algorithm/string/case_conv.hpp>
Include dependency graph for Color.cpp:

Namespaces

 cinder
 

Functions

ColorT< float > cinder::hsvToRGB (const Vec3f &hsv)
 
Vec3f cinder::rgbToHSV (const ColorT< float > &c)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< uint8_t > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< uint8_t > &rhs)
 
ColorT< uint8_t > cinder::svgNameToRgb (const char *svgName, bool *found=NULL)
 Converts the named colors of the SVG spec http://en.wikipedia.org/wiki/Web_colors#X11_color_names to sRGB Color8u. If found is non-NULL, it's set to whether the name was located. Returns black on failure. More...