Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_colorstate.h>
Public Member Functions | |
CPDF_ColorState () | |
CPDF_ColorState (const CPDF_ColorState &that) | |
~CPDF_ColorState () | |
void | Emplace () |
void | SetDefault () |
FX_COLORREF | GetFillColorRef () const |
void | SetFillColorRef (FX_COLORREF colorref) |
FX_COLORREF | GetStrokeColorRef () const |
void | SetStrokeColorRef (FX_COLORREF colorref) |
const CPDF_Color * | GetFillColor () const |
CPDF_Color * | GetMutableFillColor () |
bool | HasFillColor () const |
const CPDF_Color * | GetStrokeColor () const |
CPDF_Color * | GetMutableStrokeColor () |
bool | HasStrokeColor () const |
void | SetFillColor (RetainPtr< CPDF_ColorSpace > colorspace, std::vector< float > values) |
void | SetStrokeColor (RetainPtr< CPDF_ColorSpace > colorspace, std::vector< float > values) |
void | SetFillPattern (RetainPtr< CPDF_Pattern > pattern, pdfium::span< float > values) |
void | SetStrokePattern (RetainPtr< CPDF_Pattern > pattern, pdfium::span< float > values) |
bool | HasRef () const |
Definition at line 21 of file cpdf_colorstate.h.
|
default |
|
default |
|
default |
void CPDF_ColorState::Emplace | ( | ) |
Definition at line 23 of file cpdf_colorstate.cpp.
Referenced by CPDF_TilingPattern::Load().
const CPDF_Color * CPDF_ColorState::GetFillColor | ( | ) | const |
Definition at line 51 of file cpdf_colorstate.cpp.
Referenced by CPDF_RenderStatus::CloneObjStates(), and HasFillColor().
FX_COLORREF CPDF_ColorState::GetFillColorRef | ( | ) | const |
Definition at line 31 of file cpdf_colorstate.cpp.
Referenced by CPDF_RenderStatus::CloneObjStates(), FPDFPageObj_GetFillColor(), and CPDF_RenderStatus::GetFillArgbForType3().
CPDF_Color * CPDF_ColorState::GetMutableFillColor | ( | ) |
Definition at line 56 of file cpdf_colorstate.cpp.
CPDF_Color * CPDF_ColorState::GetMutableStrokeColor | ( | ) |
Definition at line 70 of file cpdf_colorstate.cpp.
const CPDF_Color * CPDF_ColorState::GetStrokeColor | ( | ) | const |
Definition at line 65 of file cpdf_colorstate.cpp.
Referenced by CPDF_RenderStatus::CloneObjStates(), and HasStrokeColor().
FX_COLORREF CPDF_ColorState::GetStrokeColorRef | ( | ) | const |
Definition at line 41 of file cpdf_colorstate.cpp.
Referenced by CPDF_RenderStatus::CloneObjStates(), and FPDFPageObj_GetStrokeColor().
bool CPDF_ColorState::HasFillColor | ( | ) | const |
Definition at line 60 of file cpdf_colorstate.cpp.
References GetFillColor(), and CPDF_Color::IsNull().
|
inline |
Definition at line 53 of file cpdf_colorstate.h.
Referenced by FPDFPageObj_GetFillColor(), and FPDFPageObj_GetStrokeColor().
bool CPDF_ColorState::HasStrokeColor | ( | ) | const |
Definition at line 74 of file cpdf_colorstate.cpp.
References GetStrokeColor(), and CPDF_Color::IsNull().
void CPDF_ColorState::SetDefault | ( | ) |
Definition at line 27 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetFillColor | ( | RetainPtr< CPDF_ColorSpace > | colorspace, |
std::vector< float > | values ) |
Definition at line 79 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetFillColorRef | ( | FX_COLORREF | colorref | ) |
Definition at line 35 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetFillPattern | ( | RetainPtr< CPDF_Pattern > | pattern, |
pdfium::span< float > | values ) |
Definition at line 93 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetStrokeColor | ( | RetainPtr< CPDF_ColorSpace > | colorspace, |
std::vector< float > | values ) |
Definition at line 86 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetStrokeColorRef | ( | FX_COLORREF | colorref | ) |
Definition at line 45 of file cpdf_colorstate.cpp.
void CPDF_ColorState::SetStrokePattern | ( | RetainPtr< CPDF_Pattern > | pattern, |
pdfium::span< float > | values ) |
Definition at line 100 of file cpdf_colorstate.cpp.