papyrus logo

color_scheme.cpp File Reference

#include "color_scheme.h"
#include <stdexcept>
#include <cassert>
#include <cmath>
Include dependency graph for color_scheme.cpp:

Namespaces

namespace  Papyrus

Functions

Colors Papyrus::primary_colors (double saturation, double brightness)
Colors Papyrus::secondary_colors (double saturation, double brightness)
Colors Papyrus::primary_secondary_colors (double saturation, double brightness)
Colors Papyrus::tertiary_colors (double saturation, double brightness)
Colors Papyrus::rgb_color_wheel (unsigned bands, double saturation, double brightness)
Colors Papyrus::complements (const HSBA &color)
Colors Papyrus::complements (const Colors &colors)
Colors Papyrus::split_complements (const HSBA &color, double split)
Colors Papyrus::split_complements (const Colors &colors, double split)
Colors Papyrus::triads (const HSBA &color)
Colors Papyrus::triads (const Colors &colors)
Colors Papyrus::tetrads (const HSBA &color, double split)
Colors Papyrus::tetrads (const Colors &colors, double split)
Colors Papyrus::analogous (const HSBA &color, unsigned size, double offset)
Colors Papyrus::analogous (const Colors &colors, unsigned size, double offset)
Colors Papyrus::tints (const HSBA &color, unsigned size=5, double offset=-0.2, double start=1.0)
 Adjusting the white level (saturation).
Colors Papyrus::tints (const Colors &colors, unsigned size, double offset, double start)
Colors Papyrus::shades (const HSBA &color, unsigned size=5, double offset=-0.2, double start=1.0)
 Adjusting the black level (brightness).
Colors Papyrus::shades (const Colors &colors, unsigned size, double offset, double start)
Colors Papyrus::tones (const HSBA &color, unsigned size=5, double offset=-0.2, double start=1.0)
 Adjusting the gray level (brightness and saturation).
Colors Papyrus::tones (const Colors &colors, unsigned size, double offset, double start)
Colors Papyrus::monochromatic (const HSBA &color, unsigned size=3, double offset=-0.5, double start=1.0)
 Tints and shades.
Colors Papyrus::monochromatic (const Colors &colors, unsigned size, double offset, double start)
HSBA Papyrus::complement (const HSBA &color)
HSBA Papyrus::hue_offset (const HSBA &color, double o)

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