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

#include <cpdf_renderstatus.h>

+ Collaboration diagram for CPDF_RenderStatus:

Public Member Functions

 CPDF_RenderStatus (CPDF_RenderContext *pContext, CFX_RenderDevice *pDevice)
 
 ~CPDF_RenderStatus ()
 
void SetOptions (const CPDF_RenderOptions &options)
 
void SetDeviceMatrix (const CFX_Matrix &matrix)
 
void SetStopObject (const CPDF_PageObject *pStopObj)
 
void SetFormResource (RetainPtr< const CPDF_Dictionary > pRes)
 
void SetType3Char (CPDF_Type3Char *pType3Char)
 
void SetFillColor (FX_ARGB color)
 
void SetDropObjects (bool bDropObjects)
 
void SetLoadMask (bool bLoadMask)
 
void SetStdCS (bool bStdCS)
 
void SetGroupFamily (CPDF_ColorSpace::Family family)
 
void SetTransparency (const CPDF_Transparency &transparency)
 
void Initialize (const CPDF_RenderStatus *pParentStatus, const CPDF_GraphicStates *pInitialStates)
 
void RenderObjectList (const CPDF_PageObjectHolder *pObjectHolder, const CFX_Matrix &mtObj2Device)
 
void RenderSingleObject (CPDF_PageObject *pObj, const CFX_Matrix &mtObj2Device)
 
bool ContinueSingleObject (CPDF_PageObject *pObj, const CFX_Matrix &mtObj2Device, PauseIndicatorIface *pPause)
 
void ProcessClipPath (const CPDF_ClipPath &ClipPath, const CFX_Matrix &mtObj2Device)
 
CPDF_ColorSpace::Family GetGroupFamily () const
 
bool GetLoadMask () const
 
bool GetDropObjects () const
 
bool IsPrint () const
 
bool IsStopped () const
 
CPDF_RenderContextGetContext () const
 
const CPDF_DictionaryGetFormResource () const
 
const CPDF_DictionaryGetPageResource () const
 
CFX_RenderDeviceGetRenderDevice () const
 
const CPDF_RenderOptionsGetRenderOptions () const
 
RetainPtr< CPDF_TransferFuncGetTransferFunc (RetainPtr< const CPDF_Object > pObject) const
 
FX_ARGB GetFillArgb (CPDF_PageObject *pObj) const
 
FX_ARGB GetFillArgbForType3 (CPDF_PageObject *pObj) const
 
void DrawTilingPattern (CPDF_TilingPattern *pattern, CPDF_PageObject *pPageObj, const CFX_Matrix &mtObj2Device, bool stroke)
 
void DrawShadingPattern (CPDF_ShadingPattern *pattern, const CPDF_PageObject *pPageObj, const CFX_Matrix &mtObj2Device, bool stroke)
 
void CompositeDIBitmap (const RetainPtr< CFX_DIBitmap > &pDIBitmap, int left, int top, FX_ARGB mask_argb, float alpha, BlendMode blend_mode, const CPDF_Transparency &transparency)
 

Static Public Member Functions

static std::unique_ptr< CPDF_GraphicStatesCloneObjStates (const CPDF_GraphicStates *pSrcStates, bool stroke)
 

Detailed Description

Definition at line 45 of file cpdf_renderstatus.h.

Constructor & Destructor Documentation

◆ CPDF_RenderStatus()

CPDF_RenderStatus::CPDF_RenderStatus ( CPDF_RenderContext * pContext,
CFX_RenderDevice * pDevice )

Definition at line 170 of file cpdf_renderstatus.cpp.

References CPDF_RenderStatus().

Referenced by CPDF_RenderStatus(), and CPDF_RenderTiling::Draw().

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

◆ ~CPDF_RenderStatus()

CPDF_RenderStatus::~CPDF_RenderStatus ( )
default

Member Function Documentation

◆ CloneObjStates()

std::unique_ptr< CPDF_GraphicStates > CPDF_RenderStatus::CloneObjStates ( const CPDF_GraphicStates * pSrcStates,
bool stroke )
static

Definition at line 748 of file cpdf_renderstatus.cpp.

References CPDF_GraphicStates::color_state(), CPDF_ColorState::GetFillColor(), CPDF_ColorState::GetFillColorRef(), CPDF_ColorState::GetStrokeColor(), CPDF_ColorState::GetStrokeColorRef(), and CPDF_Color::IsNull().

+ Here is the call graph for this function:

◆ CompositeDIBitmap()

void CPDF_RenderStatus::CompositeDIBitmap ( const RetainPtr< CFX_DIBitmap > & pDIBitmap,
int left,
int top,
FX_ARGB mask_argb,
float alpha,
BlendMode blend_mode,
const CPDF_Transparency & transparency )

Definition at line 1201 of file cpdf_renderstatus.cpp.

References FXSYS_roundf(), CPDF_Transparency::IsGroup(), CPDF_Transparency::IsIsolated(), kNormal, kRgb32, and CFX_DefaultRenderDevice::UseSkiaRenderer().

Referenced by DrawTilingPattern().

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

◆ ContinueSingleObject()

bool CPDF_RenderStatus::ContinueSingleObject ( CPDF_PageObject * pObj,
const CFX_Matrix & mtObj2Device,
PauseIndicatorIface * pPause )

Definition at line 243 of file cpdf_renderstatus.cpp.

References CPDF_PageObject::clip_path(), ContinueSingleObject(), CPDF_PageObject::IsImage(), and ProcessClipPath().

Referenced by ContinueSingleObject().

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

◆ DrawShadingPattern()

void CPDF_RenderStatus::DrawShadingPattern ( CPDF_ShadingPattern * pattern,
const CPDF_PageObject * pPageObj,
const CFX_Matrix & mtObj2Device,
bool stroke )

Definition at line 1092 of file cpdf_renderstatus.cpp.

References FXSYS_roundf(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetFillAlpha(), CPDF_GeneralState::GetStrokeAlpha(), FX_RECT::IsEmpty(), CPDF_ShadingPattern::Load(), and CPDF_Pattern::pattern_to_form().

+ Here is the call graph for this function:

◆ DrawTilingPattern()

void CPDF_RenderStatus::DrawTilingPattern ( CPDF_TilingPattern * pattern,
CPDF_PageObject * pPageObj,
const CFX_Matrix & mtObj2Device,
bool stroke )

Definition at line 1128 of file cpdf_renderstatus.cpp.

References CPDF_Transparency::CPDF_Transparency(), CompositeDIBitmap(), FX_RECT::IsEmpty(), kNormal, FX_RECT::left, and FX_RECT::top.

+ Here is the call graph for this function:

◆ GetContext()

CPDF_RenderContext * CPDF_RenderStatus::GetContext ( ) const
inline

Definition at line 87 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ GetDropObjects()

bool CPDF_RenderStatus::GetDropObjects ( ) const
inline

Definition at line 84 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ GetFillArgb()

FX_ARGB CPDF_RenderStatus::GetFillArgb ( CPDF_PageObject * pObj) const

Definition at line 420 of file cpdf_renderstatus.cpp.

References GetFillArgbForType3().

Referenced by CPDF_RenderTiling::Draw().

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

◆ GetFillArgbForType3()

FX_ARGB CPDF_RenderStatus::GetFillArgbForType3 ( CPDF_PageObject * pObj) const

Definition at line 428 of file cpdf_renderstatus.cpp.

References CPDF_PageObject::color_state(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetFillAlpha(), CPDF_ColorState::GetFillColorRef(), and CPDF_GeneralState::GetTransferFunc().

Referenced by GetFillArgb().

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

◆ GetFormResource()

const CPDF_Dictionary * CPDF_RenderStatus::GetFormResource ( ) const
inline

Definition at line 88 of file cpdf_renderstatus.h.

◆ GetGroupFamily()

CPDF_ColorSpace::Family CPDF_RenderStatus::GetGroupFamily ( ) const
inline

Definition at line 82 of file cpdf_renderstatus.h.

◆ GetLoadMask()

bool CPDF_RenderStatus::GetLoadMask ( ) const
inline

Definition at line 83 of file cpdf_renderstatus.h.

◆ GetPageResource()

const CPDF_Dictionary * CPDF_RenderStatus::GetPageResource ( ) const
inline

Definition at line 91 of file cpdf_renderstatus.h.

◆ GetRenderDevice()

CFX_RenderDevice * CPDF_RenderStatus::GetRenderDevice ( ) const
inline

Definition at line 94 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ GetRenderOptions()

const CPDF_RenderOptions & CPDF_RenderStatus::GetRenderOptions ( ) const
inline

Definition at line 95 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ GetTransferFunc()

RetainPtr< CPDF_TransferFunc > CPDF_RenderStatus::GetTransferFunc ( RetainPtr< const CPDF_Object > pObject) const

Definition at line 413 of file cpdf_renderstatus.cpp.

◆ Initialize()

void CPDF_RenderStatus::Initialize ( const CPDF_RenderStatus * pParentStatus,
const CPDF_GraphicStates * pInitialStates )

Definition at line 176 of file cpdf_renderstatus.cpp.

Referenced by CPDF_RenderTiling::Draw(), and FPDFTextObj_GetRenderedBitmap().

+ Here is the caller graph for this function:

◆ IsPrint()

bool CPDF_RenderStatus::IsPrint ( ) const
inline

Definition at line 85 of file cpdf_renderstatus.h.

◆ IsStopped()

bool CPDF_RenderStatus::IsStopped ( ) const
inline

Definition at line 86 of file cpdf_renderstatus.h.

◆ ProcessClipPath()

void CPDF_RenderStatus::ProcessClipPath ( const CPDF_ClipPath & ClipPath,
const CFX_Matrix & mtObj2Device )

Definition at line 483 of file cpdf_renderstatus.cpp.

References CFX_FillRenderOptions::aliased_path, CFX_Path::AppendRect(), CPDF_ClipPath::HasRef(), and CFX_FillRenderOptions::WindingOptions().

Referenced by ContinueSingleObject(), and RenderSingleObject().

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

◆ RenderObjectList()

void CPDF_RenderStatus::RenderObjectList ( const CPDF_PageObjectHolder * pObjectHolder,
const CFX_Matrix & mtObj2Device )

Definition at line 201 of file cpdf_renderstatus.cpp.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ RenderSingleObject()

void CPDF_RenderStatus::RenderSingleObject ( CPDF_PageObject * pObj,
const CFX_Matrix & mtObj2Device )

Definition at line 226 of file cpdf_renderstatus.cpp.

References CPDF_PageObject::clip_path(), and ProcessClipPath().

Referenced by FPDFTextObj_GetRenderedBitmap().

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

◆ SetDeviceMatrix()

void CPDF_RenderStatus::SetDeviceMatrix ( const CFX_Matrix & matrix)
inline

Definition at line 52 of file cpdf_renderstatus.h.

References CFX_Matrix::operator=().

Referenced by FPDFTextObj_GetRenderedBitmap().

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

◆ SetDropObjects()

void CPDF_RenderStatus::SetDropObjects ( bool bDropObjects)
inline

Definition at line 59 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ SetFillColor()

void CPDF_RenderStatus::SetFillColor ( FX_ARGB color)
inline

Definition at line 58 of file cpdf_renderstatus.h.

◆ SetFormResource()

void CPDF_RenderStatus::SetFormResource ( RetainPtr< const CPDF_Dictionary > pRes)
inline

Definition at line 54 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ SetGroupFamily()

void CPDF_RenderStatus::SetGroupFamily ( CPDF_ColorSpace::Family family)
inline

Definition at line 62 of file cpdf_renderstatus.h.

◆ SetLoadMask()

void CPDF_RenderStatus::SetLoadMask ( bool bLoadMask)
inline

Definition at line 60 of file cpdf_renderstatus.h.

◆ SetOptions()

void CPDF_RenderStatus::SetOptions ( const CPDF_RenderOptions & options)
inline

Definition at line 51 of file cpdf_renderstatus.h.

Referenced by CPDF_RenderTiling::Draw().

+ Here is the caller graph for this function:

◆ SetStdCS()

void CPDF_RenderStatus::SetStdCS ( bool bStdCS)
inline

Definition at line 61 of file cpdf_renderstatus.h.

◆ SetStopObject()

void CPDF_RenderStatus::SetStopObject ( const CPDF_PageObject * pStopObj)
inline

Definition at line 53 of file cpdf_renderstatus.h.

◆ SetTransparency()

void CPDF_RenderStatus::SetTransparency ( const CPDF_Transparency & transparency)
inline

Definition at line 65 of file cpdf_renderstatus.h.

References CPDF_Transparency::operator=().

Referenced by CPDF_RenderTiling::Draw().

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

◆ SetType3Char()

void CPDF_RenderStatus::SetType3Char ( CPDF_Type3Char * pType3Char)
inline

Definition at line 57 of file cpdf_renderstatus.h.


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