#include "genesis/utils/formats/svg/color_bar.hpp"
#include "genesis/utils/formats/svg/attributes.hpp"
#include "genesis/utils/formats/svg/helper.hpp"
#include "genesis/utils/formats/svg/object.hpp"
#include "genesis/utils/formats/svg/shapes.hpp"
#include "genesis/utils/formats/svg/text.hpp"
#include "genesis/utils/text/string.hpp"
#include "genesis/utils/tools/tickmarks.hpp"
#include "genesis/utils/color/color.hpp"
#include "genesis/utils/color/functions.hpp"
#include "genesis/utils/color/helpers.hpp"
#include "genesis/utils/color/map.hpp"
#include "genesis/utils/color/norm_boundary.hpp"
#include "genesis/utils/color/norm_diverging.hpp"
#include "genesis/utils/color/norm_linear.hpp"
#include "genesis/utils/color/norm_logarithmic.hpp"
#include "genesis/utils/color/normalization.hpp"
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
genesis | |
Container namespace for all symbols of genesis in order to keep them separate when used as a library. | |
genesis::utils | |
Functions | |
std::pair< SvgGradientLinear, SvgGroup > | make_svg_color_bar (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, std::string const &id) |
static std::pair< SvgGradientLinear, SvgGroup > | make_svg_color_bar_discrete_ (SvgColorBarSettings const &settings, std::map< double, Color > const &stops) |
static std::pair< SvgGradientLinear, SvgGroup > | make_svg_color_bar_gradient_ (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, std::string const &id) |
static void | make_svg_color_bar_tickmarks_ (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, SvgGroup &group) |
SvgGroup | make_svg_color_list (ColorMap const &map, std::vector< std::string > const &labels) |
SvgGroup | make_svg_color_list (std::vector< Color > const &colors, std::vector< std::string > const &labels) |
void | make_svg_color_list_entry_ (size_t i, Color const &color, std::string const &label, SvgGroup &group) |