Skip to content

File colors.hpp

FileList > isom > colors.hpp

Go to the source code of this file

  • #include <array>
  • #include <map>
  • #include <ostream>
  • #include <variant>

Namespaces

Type Name
namespace cv

Classes

Type Name
class CMYKColor
class Color
class RGBColor

Public Types

Type Name
typedef std::variant< RGBColor, CMYKColor > ColorVariant

Public Attributes

Type Name
std::map< std::string, ColorVariant > COLOR_MAP

Public Functions

Type Name
CMYKColor to_cmyk (const ColorVariant & cv)
RGBColor to_rgb (const ColorVariant & cv)

Public Types Documentation

typedef ColorVariant

typedef std::variant<RGBColor, CMYKColor> ColorVariant;

Public Attributes Documentation

variable COLOR_MAP

std::map<std::string, ColorVariant> COLOR_MAP;

Public Functions Documentation

function to_cmyk

inline CMYKColor to_cmyk (
    const ColorVariant & cv
) 

function to_rgb

inline RGBColor to_rgb (
    const ColorVariant & cv
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/isom/colors.hpp