/* * 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/cam/hct.h" #include "cpp/cam/hct_solver.h" #include "cpp/utils/utils.h" namespace material_color_utilities { Hct::Hct(double hue, double chroma, double tone) { … } Hct::Hct(Argb argb) { … } double Hct::get_hue() const { … } double Hct::get_chroma() const { … } double Hct::get_tone() const { … } Argb Hct::ToInt() const { … } void Hct::set_hue(double new_hue) { … } void Hct::set_chroma(double new_chroma) { … } void Hct::set_tone(double new_tone) { … } void Hct::SetInternalState(Argb argb) { … } } // namespace material_color_utilities