blob: 05998cbc91d5525ba7ab2f805bdbf3bfc4a623dc [file] [log] [blame]
// Copyright 2019 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
#ifndef CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
#define CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
#include "core/fxge/cfx_color.h"
class CPDF_Array;
namespace fxcrt {
class ByteString;
}
namespace fpdfdoc {
CFX_Color CFXColorFromArray(const CPDF_Array& array);
CFX_Color CFXColorFromString(const fxcrt::ByteString& str);
} // namespace fpdfdoc
#endif // CORE_FPDFDOC_CPDF_COLOR_UTILS_H_