blob: 993a7d730b62154d0e9c4087af7b45bf6156f6d5 [file] [log] [blame]
// Copyright 2019 PDFium Authors. All rights reserved.
// 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_