chromium/third_party/pdfium/core/fpdfapi/page/cpdf_color.cpp

// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fpdfapi/page/cpdf_color.h"

#include <optional>
#include <utility>

#include "core/fpdfapi/page/cpdf_patterncs.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/check_op.h"

CPDF_Color::CPDF_Color() = default;

CPDF_Color::CPDF_Color(const CPDF_Color& that) {}

CPDF_Color::~CPDF_Color() = default;

bool CPDF_Color::IsNull() const {}

bool CPDF_Color::IsPattern() const {}

bool CPDF_Color::IsPatternInternal() const {}

void CPDF_Color::SetColorSpace(RetainPtr<CPDF_ColorSpace> colorspace) {}

void CPDF_Color::SetValueForNonPattern(std::vector<float> values) {}

void CPDF_Color::SetValueForPattern(RetainPtr<CPDF_Pattern> pattern,
                                    pdfium::span<float> values) {}

CPDF_Color& CPDF_Color::operator=(const CPDF_Color& that) {}

uint32_t CPDF_Color::ComponentCount() const {}

bool CPDF_Color::IsColorSpaceRGB() const {}

bool CPDF_Color::IsColorSpaceGray() const {}

std::optional<FX_COLORREF> CPDF_Color::GetColorRef() const {}

std::optional<FX_RGB_STRUCT<float>> CPDF_Color::GetRGB() const {}

RetainPtr<CPDF_Pattern> CPDF_Color::GetPattern() const {}