papyrus logo

hsla.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Papyrus::HSLA
 A structure containing a HSLA value. More...

Namespaces

namespace  Papyrus

Functions

void Papyrus::rgb_to_hsl (double rgb_r, double rgb_g, double rgb_b, double &h, double &s, double &l)
 Convert RGB color to HSL Given r,g,b, each in [0,1], returns h in [0,360]; s and l in [0,1].
void Papyrus::hsl_to_rgb (double hsl_h, double hsl_s, double hsl_l, double &rgb_r, double &rgb_g, double &rgb_b)
 Convert HSLA color to RGB Given h in [0,360]; s and l in [0,1], returns r,g,b each in [0,1].

Generated on Fri Apr 16 12:40:32 2010 for papyrus by doxygen 1.6.1