chromium/third_party/material_color_utilities/src/cpp/palettes/core.cc

/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#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) {}

}  // namespace

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() {}

}  // namespace material_color_utilities