#include "third_party/blink/renderer/platform/fonts/palette_interpolation.h"
#include "third_party/blink/renderer/platform/fonts/opentype/open_type_cpal_lookup.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
Vector<FontPalette::FontPaletteOverride> PaletteInterpolation::MixColorRecords(
Vector<FontPalette::FontPaletteOverride>&& start_color_records,
Vector<FontPalette::FontPaletteOverride>&& end_color_records,
double percentage,
double alpha_multiplier,
Color::ColorSpace color_interpolation_space,
std::optional<Color::HueInterpolationMethod> hue_interpolation_method) { … }
std::optional<uint16_t> PaletteInterpolation::RetrievePaletteIndex(
const FontPalette* palette) const { … }
Vector<FontPalette::FontPaletteOverride>
PaletteInterpolation::RetrieveColorRecords(const FontPalette* palette,
unsigned int palette_index) const { … }
Vector<FontPalette::FontPaletteOverride>
PaletteInterpolation::ComputeInterpolableFontPalette(
const FontPalette* palette) const { … }
}