Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_color_utils.h
Go to the documentation of this file.
1// Copyright 2019 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
8#define CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
9
10#include "core/fxge/cfx_color.h"
11
12class CPDF_Array;
13
14namespace fxcrt {
15class ByteString;
16}
17
18namespace fpdfdoc {
19
20CFX_Color CFXColorFromArray(const CPDF_Array& array);
22
23} // namespace fpdfdoc
24
25#endif // CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
CPDF_DefaultAppearance(const ByteString &csDA)
CFX_Color CFXColorFromArray(const CPDF_Array &array)
CFX_Color CFXColorFromString(const ByteString &str)
CFX_Color & operator=(const CFX_Color &that)=default
constexpr CFX_Color(Type type=CFX_Color::Type::kTransparent, float color1=0.0f, float color2=0.0f, float color3=0.0f, float color4=0.0f)
Definition cfx_color.h:27