#include "cpp/palettes/core.h"
#include <cmath>
#include "cpp/cam/cam.h"
#include "cpp/palettes/tones.h"
namespace material_color_utilities {
namespace {
double PrimaryChroma(double chroma, bool is_content) { … }
double SecondaryChroma(double chroma, bool is_content) { … }
double TertiaryChroma(double chroma, bool is_content) { … }
double NeutralChroma(double chroma, bool is_content) { … }
double NeutralVariantChroma(double chroma, bool is_content) { … }
}
CorePalette::CorePalette(double hue, double chroma, bool is_content)
: … { … }
CorePalette CorePalette::Of(double hue, double chroma) { … }
CorePalette CorePalette::ContentOf(double hue, double chroma) { … }
CorePalette CorePalette::Of(int argb) { … }
CorePalette CorePalette::ContentOf(int argb) { … }
TonalPalette CorePalette::primary() { … }
TonalPalette CorePalette::secondary() { … }
TonalPalette CorePalette::tertiary() { … }
TonalPalette CorePalette::neutral() { … }
TonalPalette CorePalette::neutral_variant() { … }
TonalPalette CorePalette::error() { … }
}