rgbhsl.hh File Reference

#include <oln/basics.hh>
#include <oln/convert/abstract/colorconv.hh>
#include <oln/convert/float_cmp.hh>
#include <ntg/basics.hh>
#include <ntg/color/rgb.hh>
#include <ntg/color/hsl.hh>
#include <mlc/contract.hh>
#include <cstdlib>
#include <sstream>

Include dependency graph for rgbhsl.hh:

Go to the source code of this file.

Namespaces

namespace  oln
namespace  oln::convert
namespace  oln::convert::internal

Classes

struct  oln::convert::f_rgb_to_hsl< inbits, outbits >
struct  oln::convert::f_hsl_to_rgb< inbits, outbits >

Functions

template<unsigned inbits, unsigned outbits>
color< 3, inbits, hsl_traits > oln::convert::rgb_to_hsl (const color< 3, outbits, rgb_traits > &v)
float oln::convert::internal::RGB (float q1, float q2, float hue)
template<unsigned inbits, unsigned outbits>
color< 3, outbits, rgb_traits > oln::convert::hsl_to_rgb (const color< 3, inbits, hsl_traits > &v)


Detailed Description

REF: The formulas used here come from ``Color space conversion''; Paul Bourke.

Definition in file rgbhsl.hh.


Generated on Tue Feb 20 20:21:26 2007 for Olena by  doxygen 1.5.1