Euphoria
eu::core::colorbrewer Namespace Reference

Classes

struct  Properties
 
struct  BrewerPalette
 
struct  Colorbrewer
 
struct  SinglePalette
 

Typedefs

using BlindProperties = std::vector< int >
 
using PrintProperties = std::vector< int >
 
using CopyProperties = std::vector< int >
 
using ScreenProperties = std::vector< int >
 
using SizeToPaletteMap = std::map< int, BrewerPalette >
 

Enumerations

enum class  BrewerType { div , qual , seq }
 
enum class  BrewerClass { no = 0 , yes = 1 , maybe = 2 }
 

Functions

const std::vector< Colorbrewer > & get_all_palettes ()
 
std::vector< SinglePalettefind_palette (BrewerType *type, int *size)
 
const Colorbrewerget_palette_diverging_spectral ()
 
const Colorbrewerget_palette_diverging_rd_yl_gn ()
 
const Colorbrewerget_palette_diverging_rd_bu ()
 
const Colorbrewerget_palette_diverging_pi_y_g ()
 
const Colorbrewerget_palette_diverging_p_r_gn ()
 
const Colorbrewerget_palette_diverging_rd_yl_bu ()
 
const Colorbrewerget_palette_diverging_br_b_g ()
 
const Colorbrewerget_palette_diverging_rd_gy ()
 
const Colorbrewerget_palette_diverging_pu_or ()
 
const Colorbrewerget_palette_qualitative_set2 ()
 
const Colorbrewerget_palette_qualitative_accent ()
 
const Colorbrewerget_palette_qualitative_set1 ()
 
const Colorbrewerget_palette_qualitative_set3 ()
 
const Colorbrewerget_palette_qualitative_dark2 ()
 
const Colorbrewerget_palette_qualitative_paired ()
 
const Colorbrewerget_palette_qualitative_pastel2 ()
 
const Colorbrewerget_palette_qualitative_pastel1 ()
 
const Colorbrewerget_palette_sequential_or_rd ()
 
const Colorbrewerget_palette_sequential_pu_bu ()
 
const Colorbrewerget_palette_sequential_bu_pu ()
 
const Colorbrewerget_palette_sequential_oranges ()
 
const Colorbrewerget_palette_sequential_bu_gn ()
 
const Colorbrewerget_palette_sequential_yl_or_br ()
 
const Colorbrewerget_palette_sequential_yl_gn ()
 
const Colorbrewerget_palette_sequential_reds ()
 
const Colorbrewerget_palette_sequential_rd_pu ()
 
const Colorbrewerget_palette_sequential_greens ()
 
const Colorbrewerget_palette_sequential_yl_gn_bu ()
 
const Colorbrewerget_palette_sequential_purples ()
 
const Colorbrewerget_palette_sequential_gn_bu ()
 
const Colorbrewerget_palette_sequential_greys ()
 
const Colorbrewerget_palette_sequential_yl_or_rd ()
 
const Colorbrewerget_palette_sequential_pu_rd ()
 
const Colorbrewerget_palette_sequential_blues ()
 
const Colorbrewerget_palette_sequential_pu_bu_gn ()
 

Typedef Documentation

◆ BlindProperties

using eu::core::colorbrewer::BlindProperties = typedef std::vector<int>

Definition at line 26 of file colorbrewer.h.

◆ CopyProperties

using eu::core::colorbrewer::CopyProperties = typedef std::vector<int>

Definition at line 28 of file colorbrewer.h.

◆ PrintProperties

using eu::core::colorbrewer::PrintProperties = typedef std::vector<int>

Definition at line 27 of file colorbrewer.h.

◆ ScreenProperties

using eu::core::colorbrewer::ScreenProperties = typedef std::vector<int>

Definition at line 29 of file colorbrewer.h.

◆ SizeToPaletteMap

Definition at line 45 of file colorbrewer.h.

Enumeration Type Documentation

◆ BrewerClass

Enumerator
no 
yes 
maybe 

Definition at line 19 of file colorbrewer.h.

◆ BrewerType

Enumerator
div 
qual 
seq 

Definition at line 12 of file colorbrewer.h.

Function Documentation

◆ find_palette()

std::vector< SinglePalette > eu::core::colorbrewer::find_palette ( BrewerType type,
int *  size 
)

Definition at line 49 of file colorbrewer.cc.

◆ get_all_palettes()

const std::vector< Colorbrewer > & eu::core::colorbrewer::get_all_palettes ( )

Definition at line 28 of file colorbrewer.cc.

◆ get_palette_diverging_br_b_g()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_br_b_g ( )

Definition at line 1294 of file colorbrewer.cc.

◆ get_palette_diverging_p_r_gn()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_p_r_gn ( )

Definition at line 890 of file colorbrewer.cc.

◆ get_palette_diverging_pi_y_g()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_pi_y_g ( )

Definition at line 688 of file colorbrewer.cc.

◆ get_palette_diverging_pu_or()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_pu_or ( )

Definition at line 1698 of file colorbrewer.cc.

◆ get_palette_diverging_rd_bu()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_rd_bu ( )

Definition at line 486 of file colorbrewer.cc.

◆ get_palette_diverging_rd_gy()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_rd_gy ( )

Definition at line 1496 of file colorbrewer.cc.

◆ get_palette_diverging_rd_yl_bu()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_rd_yl_bu ( )

Definition at line 1092 of file colorbrewer.cc.

◆ get_palette_diverging_rd_yl_gn()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_rd_yl_gn ( )

Definition at line 284 of file colorbrewer.cc.

◆ get_palette_diverging_spectral()

const Colorbrewer & eu::core::colorbrewer::get_palette_diverging_spectral ( )

Definition at line 83 of file colorbrewer.cc.

◆ get_palette_qualitative_accent()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_accent ( )

Definition at line 2034 of file colorbrewer.cc.

◆ get_palette_qualitative_dark2()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_dark2 ( )

Definition at line 2542 of file colorbrewer.cc.

◆ get_palette_qualitative_paired()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_paired ( )

Definition at line 2672 of file colorbrewer.cc.

◆ get_palette_qualitative_pastel1()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_pastel1 ( )

Definition at line 3032 of file colorbrewer.cc.

◆ get_palette_qualitative_pastel2()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_pastel2 ( )

Definition at line 2902 of file colorbrewer.cc.

◆ get_palette_qualitative_set1()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_set1 ( )

Definition at line 2164 of file colorbrewer.cc.

◆ get_palette_qualitative_set2()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_set2 ( )

Definition at line 1902 of file colorbrewer.cc.

◆ get_palette_qualitative_set3()

const Colorbrewer & eu::core::colorbrewer::get_palette_qualitative_set3 ( )

Definition at line 2314 of file colorbrewer.cc.

◆ get_palette_sequential_blues()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_blues ( )

Definition at line 5635 of file colorbrewer.cc.

◆ get_palette_sequential_bu_gn()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_bu_gn ( )

Definition at line 3799 of file colorbrewer.cc.

◆ get_palette_sequential_bu_pu()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_bu_pu ( )

Definition at line 3493 of file colorbrewer.cc.

◆ get_palette_sequential_gn_bu()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_gn_bu ( )

Definition at line 5023 of file colorbrewer.cc.

◆ get_palette_sequential_greens()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_greens ( )

Definition at line 4564 of file colorbrewer.cc.

◆ get_palette_sequential_greys()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_greys ( )

Definition at line 5176 of file colorbrewer.cc.

◆ get_palette_sequential_or_rd()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_or_rd ( )

Definition at line 3187 of file colorbrewer.cc.

◆ get_palette_sequential_oranges()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_oranges ( )

Definition at line 3646 of file colorbrewer.cc.

◆ get_palette_sequential_pu_bu()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_pu_bu ( )

Definition at line 3340 of file colorbrewer.cc.

◆ get_palette_sequential_pu_bu_gn()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_pu_bu_gn ( )

Definition at line 5788 of file colorbrewer.cc.

◆ get_palette_sequential_pu_rd()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_pu_rd ( )

Definition at line 5482 of file colorbrewer.cc.

◆ get_palette_sequential_purples()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_purples ( )

Definition at line 4870 of file colorbrewer.cc.

◆ get_palette_sequential_rd_pu()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_rd_pu ( )

Definition at line 4411 of file colorbrewer.cc.

◆ get_palette_sequential_reds()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_reds ( )

Definition at line 4258 of file colorbrewer.cc.

◆ get_palette_sequential_yl_gn()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_yl_gn ( )

Definition at line 4105 of file colorbrewer.cc.

◆ get_palette_sequential_yl_gn_bu()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_yl_gn_bu ( )

Definition at line 4717 of file colorbrewer.cc.

◆ get_palette_sequential_yl_or_br()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_yl_or_br ( )

Definition at line 3952 of file colorbrewer.cc.

◆ get_palette_sequential_yl_or_rd()

const Colorbrewer & eu::core::colorbrewer::get_palette_sequential_yl_or_rd ( )

Definition at line 5329 of file colorbrewer.cc.