Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Enumerations | Functions
Color.h File Reference
#include "cinder/Cinder.h"
#include "cinder/ChanTraits.h"
#include "cinder/Vector.h"
#include "cinder/CinderMath.h"
Include dependency graph for Color.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cinder::ColorT< T >
 
class  cinder::ColorAT< T >
 

Namespaces

 cinder
 

Typedefs

typedef ColorT< float > cinder::Color
 
typedef ColorT< float > cinder::Colorf
 
typedef ColorT< uint8_t > cinder::Color8u
 
typedef ColorAT< float > cinder::ColorA
 
typedef ColorAT< float > cinder::ColorAf
 
typedef ColorAT< uint8_t > cinder::ColorA8u
 

Enumerations

enum  cinder::ColorModel { cinder::CM_RGB, cinder::CM_HSV }
 

Functions

template<typename T , typename Y >
ColorT< T > cinder::operator* (Y s, const ColorT< T > &c)
 
template<typename T , typename Y >
ColorAT< T > cinder::operator* (Y s, const ColorAT< T > &c)
 
ColorT< float > cinder::hsvToRGB (const Vec3f &hsv)
 
Vec3f cinder::rgbToHSV (const ColorT< float > &c)
 
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...
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< uint8_t > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< uint8_t > &rhs)