colors/general.hpp

template<typename ColorT>
struct gviz::colors::SchemeColor

Public Types

using color_type = ColorT

Public Functions

inline constexpr operator color_type() const noexcept(noexcept(color_type(color)))
inline constexpr bool operator==(const SchemeColor &other) const
inline constexpr bool operator!=(const SchemeColor &other) const

Public Members

const char *name = nullptr
color_type color = {}
SchemeEnum scheme = SchemeEnum::X11
template<typename ColorT>
class gviz::colors::WeightedColor

Public Types

using color_type = ColorT

Public Functions

inline constexpr WeightedColor(ColorT color, double weight)
inline constexpr double get_color() const noexcept(noexcept(color_type(color_)))
inline constexpr double get_weight() const noexcept
inline constexpr WeightedColor &set_color(const color_type &color)
inline constexpr WeightedColor &set_weight(double weight)
inline constexpr bool operator==(const WeightedColor &other) const noexcept
inline constexpr bool operator!=(const WeightedColor &other) const

Private Members

color_type color_
double weight_
namespace gviz
namespace gviz::colors

Enums

enum class SchemeEnum : uint8_t

Values:

enumerator X11
enumerator SVG
file general.hpp
#include <>
#include <>
#include <>
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard/colors
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard
dir /home/cthulhu/projects/repos/libgvizard/include