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
12
class
CPDF_Array;
13
14
namespace
fxcrt
{
15
class
ByteString
;
16
}
17
18
namespace
fpdfdoc
{
19
20
CFX_Color
CFXColorFromArray
(
const
CPDF_Array& array);
21
CFX_Color
CFXColorFromString
(
const
fxcrt
::
ByteString
& str);
22
23
}
// namespace fpdfdoc
24
25
#
endif
// CORE_FPDFDOC_CPDF_COLOR_UTILS_H_
CPDF_DefaultAppearance
Definition
cpdf_defaultappearance.h:16
CPDF_DefaultAppearance::CPDF_DefaultAppearance
CPDF_DefaultAppearance(const ByteString &csDA)
Definition
cpdf_defaultappearance.cpp:59
fxcrt::ByteString
Definition
bytestring.h:32
fpdfdoc
Definition
cpdf_color_utils.cpp:14
fpdfdoc::CFXColorFromArray
CFX_Color CFXColorFromArray(const CPDF_Array &array)
Definition
cpdf_color_utils.cpp:16
fpdfdoc::CFXColorFromString
CFX_Color CFXColorFromString(const ByteString &str)
Definition
cpdf_color_utils.cpp:35
fxcrt
Definition
span_util.h:14
CFX_Color
Definition
cfx_color.h:12
CFX_Color::Type
Type
Definition
cfx_color.h:14
CFX_Color::Type::kCMYK
@ kCMYK
CFX_Color::Type::kGray
@ kGray
CFX_Color::Type::kRGB
@ kRGB
CFX_Color::operator=
CFX_Color & operator=(const CFX_Color &that)=default
CFX_Color::CFX_Color
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
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfdoc
cpdf_color_utils.h
Generated on Thu Nov 14 2024 00:57:13 for Qt by
1.12.0