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_ColorState Class Reference

#include <cpdf_colorstate.h>

+ Collaboration diagram for CPDF_ColorState:

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_ColorGetFillColor () const
 
CPDF_ColorGetMutableFillColor ()
 
bool HasFillColor () const
 
const CPDF_ColorGetStrokeColor () const
 
CPDF_ColorGetMutableStrokeColor ()
 
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
 

Detailed Description

Definition at line 21 of file cpdf_colorstate.h.

Constructor & Destructor Documentation

◆ CPDF_ColorState() [1/2]

CPDF_ColorState::CPDF_ColorState ( )
default

◆ CPDF_ColorState() [2/2]

CPDF_ColorState::CPDF_ColorState ( const CPDF_ColorState & that)
default

◆ ~CPDF_ColorState()

CPDF_ColorState::~CPDF_ColorState ( )
default

Member Function Documentation

◆ Emplace()

void CPDF_ColorState::Emplace ( )

Definition at line 23 of file cpdf_colorstate.cpp.

Referenced by CPDF_TilingPattern::Load().

+ Here is the caller graph for this function:

◆ GetFillColor()

const CPDF_Color * CPDF_ColorState::GetFillColor ( ) const

Definition at line 51 of file cpdf_colorstate.cpp.

Referenced by CPDF_RenderStatus::CloneObjStates(), and HasFillColor().

+ Here is the caller graph for this function:

◆ GetFillColorRef()

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().

+ Here is the caller graph for this function:

◆ GetMutableFillColor()

CPDF_Color * CPDF_ColorState::GetMutableFillColor ( )

Definition at line 56 of file cpdf_colorstate.cpp.

◆ GetMutableStrokeColor()

CPDF_Color * CPDF_ColorState::GetMutableStrokeColor ( )

Definition at line 70 of file cpdf_colorstate.cpp.

◆ GetStrokeColor()

const CPDF_Color * CPDF_ColorState::GetStrokeColor ( ) const

Definition at line 65 of file cpdf_colorstate.cpp.

Referenced by CPDF_RenderStatus::CloneObjStates(), and HasStrokeColor().

+ Here is the caller graph for this function:

◆ GetStrokeColorRef()

FX_COLORREF CPDF_ColorState::GetStrokeColorRef ( ) const

Definition at line 41 of file cpdf_colorstate.cpp.

Referenced by CPDF_RenderStatus::CloneObjStates(), and FPDFPageObj_GetStrokeColor().

+ Here is the caller graph for this function:

◆ HasFillColor()

bool CPDF_ColorState::HasFillColor ( ) const

Definition at line 60 of file cpdf_colorstate.cpp.

References GetFillColor(), and CPDF_Color::IsNull().

+ Here is the call graph for this function:

◆ HasRef()

bool CPDF_ColorState::HasRef ( ) const
inline

Definition at line 53 of file cpdf_colorstate.h.

Referenced by FPDFPageObj_GetFillColor(), and FPDFPageObj_GetStrokeColor().

+ Here is the caller graph for this function:

◆ HasStrokeColor()

bool CPDF_ColorState::HasStrokeColor ( ) const

Definition at line 74 of file cpdf_colorstate.cpp.

References GetStrokeColor(), and CPDF_Color::IsNull().

+ Here is the call graph for this function:

◆ SetDefault()

void CPDF_ColorState::SetDefault ( )

Definition at line 27 of file cpdf_colorstate.cpp.

◆ SetFillColor()

void CPDF_ColorState::SetFillColor ( RetainPtr< CPDF_ColorSpace > colorspace,
std::vector< float > values )

Definition at line 79 of file cpdf_colorstate.cpp.

◆ SetFillColorRef()

void CPDF_ColorState::SetFillColorRef ( FX_COLORREF colorref)

Definition at line 35 of file cpdf_colorstate.cpp.

◆ SetFillPattern()

void CPDF_ColorState::SetFillPattern ( RetainPtr< CPDF_Pattern > pattern,
pdfium::span< float > values )

Definition at line 93 of file cpdf_colorstate.cpp.

◆ SetStrokeColor()

void CPDF_ColorState::SetStrokeColor ( RetainPtr< CPDF_ColorSpace > colorspace,
std::vector< float > values )

Definition at line 86 of file cpdf_colorstate.cpp.

◆ SetStrokeColorRef()

void CPDF_ColorState::SetStrokeColorRef ( FX_COLORREF colorref)

Definition at line 45 of file cpdf_colorstate.cpp.

◆ SetStrokePattern()

void CPDF_ColorState::SetStrokePattern ( RetainPtr< CPDF_Pattern > pattern,
pdfium::span< float > values )

Definition at line 100 of file cpdf_colorstate.cpp.


The documentation for this class was generated from the following files: