chromium/third_party/pdfium/core/fpdfapi/page/cpdf_colorstate.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_colorstate.h"

#include <optional>
#include <utility>

#include "core/fpdfapi/page/cpdf_colorspace.h"
#include "core/fpdfapi/page/cpdf_pattern.h"
#include "core/fpdfapi/page/cpdf_tilingpattern.h"
#include "core/fxge/dib/fx_dib.h"

CPDF_ColorState::CPDF_ColorState() = default;

CPDF_ColorState::CPDF_ColorState(const CPDF_ColorState& that) = default;

CPDF_ColorState::~CPDF_ColorState() = default;

void CPDF_ColorState::Emplace() {}

void CPDF_ColorState::SetDefault() {}

FX_COLORREF CPDF_ColorState::GetFillColorRef() const {}

void CPDF_ColorState::SetFillColorRef(FX_COLORREF colorref) {}

FX_COLORREF CPDF_ColorState::GetStrokeColorRef() const {}

void CPDF_ColorState::SetStrokeColorRef(FX_COLORREF colorref) {}

const CPDF_Color* CPDF_ColorState::GetFillColor() const {}

CPDF_Color* CPDF_ColorState::GetMutableFillColor() {}

bool CPDF_ColorState::HasFillColor() const {}

const CPDF_Color* CPDF_ColorState::GetStrokeColor() const {}

CPDF_Color* CPDF_ColorState::GetMutableStrokeColor() {}

bool CPDF_ColorState::HasStrokeColor() const {}

void CPDF_ColorState::SetFillColor(RetainPtr<CPDF_ColorSpace> colorspace,
                                   std::vector<float> values) {}

void CPDF_ColorState::SetStrokeColor(RetainPtr<CPDF_ColorSpace> colorspace,
                                     std::vector<float> values) {}

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

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

std::optional<FX_COLORREF> CPDF_ColorState::SetColor(
    RetainPtr<CPDF_ColorSpace> colorspace,
    std::vector<float> values,
    CPDF_Color& color) {}

FX_COLORREF CPDF_ColorState::SetPattern(RetainPtr<CPDF_Pattern> pattern,
                                        pdfium::span<float> values,
                                        CPDF_Color& color) {}

CPDF_ColorState::ColorData::ColorData() = default;

CPDF_ColorState::ColorData::ColorData(const ColorData& src)
    :{}

CPDF_ColorState::ColorData::~ColorData() = default;

void CPDF_ColorState::ColorData::SetDefault() {}

RetainPtr<CPDF_ColorState::ColorData> CPDF_ColorState::ColorData::Clone()
    const {}