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

#include <cpdf_generalstate.h>

+ Collaboration diagram for CPDF_GeneralState:

Public Member Functions

 CPDF_GeneralState ()
 
 CPDF_GeneralState (const CPDF_GeneralState &that)
 
 ~CPDF_GeneralState ()
 
void Emplace ()
 
bool HasRef () const
 
void SetRenderIntent (const ByteString &ri)
 
ByteString GetBlendMode () const
 
BlendMode GetBlendType () const
 
void SetBlendType (BlendMode type)
 
float GetFillAlpha () const
 
void SetFillAlpha (float alpha)
 
float GetStrokeAlpha () const
 
void SetStrokeAlpha (float alpha)
 
RetainPtr< const CPDF_DictionaryGetSoftMask () const
 
RetainPtr< CPDF_DictionaryGetMutableSoftMask ()
 
void SetSoftMask (RetainPtr< CPDF_Dictionary > pDict)
 
RetainPtr< const CPDF_ObjectGetTR () const
 
void SetTR (RetainPtr< const CPDF_Object > pObject)
 
RetainPtr< CPDF_TransferFuncGetTransferFunc () const
 
void SetTransferFunc (RetainPtr< CPDF_TransferFunc > pFunc)
 
void SetBlendMode (const ByteString &mode)
 
const CFX_MatrixGetSMaskMatrix () const
 
void SetSMaskMatrix (const CFX_Matrix &matrix)
 
bool GetFillOP () const
 
void SetFillOP (bool op)
 
bool GetStrokeOP () const
 
void SetStrokeOP (bool op)
 
int GetOPMode () const
 
void SetOPMode (int mode)
 
void SetBG (RetainPtr< const CPDF_Object > pObject)
 
void SetUCR (RetainPtr< const CPDF_Object > pObject)
 
void SetHT (RetainPtr< const CPDF_Object > pObject)
 
void SetFlatness (float flatness)
 
void SetSmoothness (float smoothness)
 
bool GetStrokeAdjust () const
 
void SetStrokeAdjust (bool adjust)
 
void SetAlphaSource (bool source)
 
void SetTextKnockout (bool knockout)
 
void SetMatrix (const CFX_Matrix &matrix)
 
CFX_MatrixGetMutableMatrix ()
 
void SetGraphicsResourceNames (std::vector< ByteString > names)
 
void AppendGraphicsResourceName (ByteString name)
 
pdfium::span< const ByteStringGetGraphicsResourceNames () const
 

Detailed Description

Definition at line 24 of file cpdf_generalstate.h.

Constructor & Destructor Documentation

◆ CPDF_GeneralState() [1/2]

CPDF_GeneralState::CPDF_GeneralState ( )
default

◆ CPDF_GeneralState() [2/2]

CPDF_GeneralState::CPDF_GeneralState ( const CPDF_GeneralState & that)
default

◆ ~CPDF_GeneralState()

CPDF_GeneralState::~CPDF_GeneralState ( )
default

Member Function Documentation

◆ AppendGraphicsResourceName()

void CPDF_GeneralState::AppendGraphicsResourceName ( ByteString name)

Definition at line 276 of file cpdf_generalstate.cpp.

◆ Emplace()

void CPDF_GeneralState::Emplace ( )
inline

Definition at line 30 of file cpdf_generalstate.h.

◆ GetBlendMode()

◆ GetBlendType()

BlendMode CPDF_GeneralState::GetBlendType ( ) const

Definition at line 120 of file cpdf_generalstate.cpp.

References kNormal.

Referenced by FPDFPageObj_HasTransparency(), GetBlendMode(), and SetBlendType().

+ Here is the caller graph for this function:

◆ GetFillAlpha()

float CPDF_GeneralState::GetFillAlpha ( ) const

Definition at line 131 of file cpdf_generalstate.cpp.

Referenced by CPDF_RenderStatus::DrawShadingPattern(), FPDFPageObj_GetFillColor(), FPDFPageObj_HasTransparency(), CPDF_RenderStatus::GetFillArgbForType3(), and SetFillAlpha().

+ Here is the caller graph for this function:

◆ GetFillOP()

bool CPDF_GeneralState::GetFillOP ( ) const

Definition at line 200 of file cpdf_generalstate.cpp.

◆ GetGraphicsResourceNames()

pdfium::span< const ByteString > CPDF_GeneralState::GetGraphicsResourceNames ( ) const

Definition at line 280 of file cpdf_generalstate.cpp.

Referenced by CPDF_PageObject::GetGraphicsResourceNames().

+ Here is the caller graph for this function:

◆ GetMutableMatrix()

CFX_Matrix * CPDF_GeneralState::GetMutableMatrix ( )

Definition at line 267 of file cpdf_generalstate.cpp.

Referenced by CPDF_PageObject::TransformGeneralState().

+ Here is the caller graph for this function:

◆ GetMutableSoftMask()

RetainPtr< CPDF_Dictionary > CPDF_GeneralState::GetMutableSoftMask ( )

Definition at line 158 of file cpdf_generalstate.cpp.

◆ GetOPMode()

int CPDF_GeneralState::GetOPMode ( ) const

Definition at line 218 of file cpdf_generalstate.cpp.

◆ GetSMaskMatrix()

const CFX_Matrix * CPDF_GeneralState::GetSMaskMatrix ( ) const

Definition at line 191 of file cpdf_generalstate.cpp.

◆ GetSoftMask()

RetainPtr< const CPDF_Dictionary > CPDF_GeneralState::GetSoftMask ( ) const

Definition at line 153 of file cpdf_generalstate.cpp.

Referenced by FPDFPageObj_HasTransparency().

+ Here is the caller graph for this function:

◆ GetStrokeAdjust()

bool CPDF_GeneralState::GetStrokeAdjust ( ) const

Definition at line 246 of file cpdf_generalstate.cpp.

◆ GetStrokeAlpha()

float CPDF_GeneralState::GetStrokeAlpha ( ) const

Definition at line 142 of file cpdf_generalstate.cpp.

Referenced by CPDF_RenderStatus::DrawShadingPattern(), FPDFPageObj_GetStrokeColor(), FPDFPageObj_HasTransparency(), and SetStrokeAlpha().

+ Here is the caller graph for this function:

◆ GetStrokeOP()

bool CPDF_GeneralState::GetStrokeOP ( ) const

Definition at line 213 of file cpdf_generalstate.cpp.

◆ GetTR()

RetainPtr< const CPDF_Object > CPDF_GeneralState::GetTR ( ) const

Definition at line 167 of file cpdf_generalstate.cpp.

◆ GetTransferFunc()

RetainPtr< CPDF_TransferFunc > CPDF_GeneralState::GetTransferFunc ( ) const

Definition at line 176 of file cpdf_generalstate.cpp.

Referenced by CPDF_RenderStatus::GetFillArgbForType3().

+ Here is the caller graph for this function:

◆ HasRef()

bool CPDF_GeneralState::HasRef ( ) const
inline

Definition at line 31 of file cpdf_generalstate.h.

Referenced by CPDF_PageObject::TransformGeneralState().

+ Here is the caller graph for this function:

◆ SetAlphaSource()

void CPDF_GeneralState::SetAlphaSource ( bool source)

Definition at line 255 of file cpdf_generalstate.cpp.

◆ SetBG()

void CPDF_GeneralState::SetBG ( RetainPtr< const CPDF_Object > pObject)

Definition at line 226 of file cpdf_generalstate.cpp.

◆ SetBlendMode()

void CPDF_GeneralState::SetBlendMode ( const ByteString & mode)

Definition at line 185 of file cpdf_generalstate.cpp.

Referenced by FPDFPageObj_SetBlendMode().

+ Here is the caller graph for this function:

◆ SetBlendType()

void CPDF_GeneralState::SetBlendType ( BlendMode type)

Definition at line 125 of file cpdf_generalstate.cpp.

References GetBlendType().

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetFillAlpha()

void CPDF_GeneralState::SetFillAlpha ( float alpha)

Definition at line 136 of file cpdf_generalstate.cpp.

References GetFillAlpha().

Referenced by CPDF_ContentParser::CPDF_ContentParser(), and FPDFPageObj_SetFillColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetFillOP()

void CPDF_GeneralState::SetFillOP ( bool op)

Definition at line 205 of file cpdf_generalstate.cpp.

◆ SetFlatness()

void CPDF_GeneralState::SetFlatness ( float flatness)

Definition at line 238 of file cpdf_generalstate.cpp.

◆ SetGraphicsResourceNames()

void CPDF_GeneralState::SetGraphicsResourceNames ( std::vector< ByteString > names)

Definition at line 271 of file cpdf_generalstate.cpp.

◆ SetHT()

void CPDF_GeneralState::SetHT ( RetainPtr< const CPDF_Object > pObject)

Definition at line 234 of file cpdf_generalstate.cpp.

◆ SetMatrix()

void CPDF_GeneralState::SetMatrix ( const CFX_Matrix & matrix)

Definition at line 263 of file cpdf_generalstate.cpp.

Referenced by CPDF_AllStates::ProcessExtGS().

+ Here is the caller graph for this function:

◆ SetOPMode()

void CPDF_GeneralState::SetOPMode ( int mode)

Definition at line 222 of file cpdf_generalstate.cpp.

◆ SetRenderIntent()

void CPDF_GeneralState::SetRenderIntent ( const ByteString & ri)

Definition at line 78 of file cpdf_generalstate.cpp.

◆ SetSMaskMatrix()

void CPDF_GeneralState::SetSMaskMatrix ( const CFX_Matrix & matrix)

Definition at line 196 of file cpdf_generalstate.cpp.

◆ SetSmoothness()

void CPDF_GeneralState::SetSmoothness ( float smoothness)

Definition at line 242 of file cpdf_generalstate.cpp.

◆ SetSoftMask()

void CPDF_GeneralState::SetSoftMask ( RetainPtr< CPDF_Dictionary > pDict)

Definition at line 163 of file cpdf_generalstate.cpp.

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the caller graph for this function:

◆ SetStrokeAdjust()

void CPDF_GeneralState::SetStrokeAdjust ( bool adjust)

Definition at line 251 of file cpdf_generalstate.cpp.

◆ SetStrokeAlpha()

void CPDF_GeneralState::SetStrokeAlpha ( float alpha)

Definition at line 147 of file cpdf_generalstate.cpp.

References GetStrokeAlpha().

Referenced by CPDF_ContentParser::CPDF_ContentParser(), and FPDFPageObj_SetStrokeColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetStrokeOP()

void CPDF_GeneralState::SetStrokeOP ( bool op)

Definition at line 209 of file cpdf_generalstate.cpp.

◆ SetTextKnockout()

void CPDF_GeneralState::SetTextKnockout ( bool knockout)

Definition at line 259 of file cpdf_generalstate.cpp.

◆ SetTR()

void CPDF_GeneralState::SetTR ( RetainPtr< const CPDF_Object > pObject)

Definition at line 172 of file cpdf_generalstate.cpp.

◆ SetTransferFunc()

void CPDF_GeneralState::SetTransferFunc ( RetainPtr< CPDF_TransferFunc > pFunc)

Definition at line 181 of file cpdf_generalstate.cpp.

◆ SetUCR()

void CPDF_GeneralState::SetUCR ( RetainPtr< const CPDF_Object > pObject)

Definition at line 230 of file cpdf_generalstate.cpp.


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