izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
a60-svg-color-band.h File Reference
#include <iostream>
+ Include dependency graph for a60-svg-color-band.h:

Go to the source code of this file.

Namespaces

namespace  svg
 

Typedefs

using svg::colorband = std::tuple<color, ushort>
 Specific regions of spectrum as bands of color. Each band has a starting hue and a number of known good samples. This is then used to seed a generator that computes more of similar hues.
 

Functions

color_qis svg::make_color_band (const colorband &cb, const ushort neededh)
 Forwarding function.
 
color_qis svg::make_color_band_v1 (const colorband &cb, const ushort neededh, auto &spectrum)
 
color_qis svg::make_color_band_v2 (const colorband &cb, const ushort neededh)
 Algorightm is HSV generation.
 
color_qi svg::next_in_color_band (const colorband &cb, const ushort bandn=400)
 Flip through color band colors.
 

Variables

constexpr colorband svg::cband_b = std::make_tuple(color::blue, 34)
 
constexpr colorband svg::cband_brown = std::make_tuple(color::duboisbrown5, 7)
 
constexpr colorband svg::cband_bw = std::make_tuple(color::white, 2)
 Izzi palette-specific offsets for colorbands.
 
constexpr colorband svg::cband_g = std::make_tuple(color::green, 21)
 
constexpr colorband svg::cband_gray = std::make_tuple(color::white, 16)
 
constexpr colorband svg::cband_o = std::make_tuple(color::orange, 10)
 
constexpr colorband svg::cband_p = std::make_tuple(color::purple, 33)
 
constexpr colorband svg::cband_r = std::make_tuple(color::red, 17)
 
constexpr colorband svg::cband_y = std::make_tuple(color::hellayellow, 10)