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

#include <cpdf_rendercontext.h>

+ Collaboration diagram for CPDF_RenderContext:

Classes

class  Layer
 

Public Member Functions

 CPDF_RenderContext (CPDF_Document *pDoc, RetainPtr< CPDF_Dictionary > pPageResources, CPDF_PageImageCache *pPageCache)
 
 ~CPDF_RenderContext ()
 
void AppendLayer (CPDF_PageObjectHolder *pObjectHolder, const CFX_Matrix &mtObject2Device)
 
void Render (CFX_RenderDevice *pDevice, const CPDF_PageObject *pStopObj, const CPDF_RenderOptions *pOptions, const CFX_Matrix *pLastMatrix)
 
void GetBackgroundToDevice (CFX_RenderDevice *device, const CPDF_PageObject *object, const CPDF_RenderOptions *options, const CFX_Matrix &matrix)
 
void GetBackgroundToBitmap (RetainPtr< CFX_DIBitmap > bitmap, const CPDF_PageObject *object, const CFX_Matrix &matrix)
 
size_t CountLayers () const
 
LayerGetLayer (uint32_t index)
 
CPDF_DocumentGetDocument () const
 
const CPDF_DictionaryGetPageResources () const
 
RetainPtr< CPDF_DictionaryGetMutablePageResources ()
 
CPDF_PageImageCacheGetPageCache () const
 

Detailed Description

Definition at line 26 of file cpdf_rendercontext.h.

Constructor & Destructor Documentation

◆ CPDF_RenderContext()

CPDF_RenderContext::CPDF_RenderContext ( CPDF_Document * pDoc,
RetainPtr< CPDF_Dictionary > pPageResources,
CPDF_PageImageCache * pPageCache )

Definition at line 26 of file cpdf_rendercontext.cpp.

References CPDF_RenderContext().

Referenced by CPDF_RenderContext().

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

◆ ~CPDF_RenderContext()

CPDF_RenderContext::~CPDF_RenderContext ( )
default

Member Function Documentation

◆ AppendLayer()

void CPDF_RenderContext::AppendLayer ( CPDF_PageObjectHolder * pObjectHolder,
const CFX_Matrix & mtObject2Device )

Definition at line 54 of file cpdf_rendercontext.cpp.

Referenced by CPDF_Annot::DrawAppearance(), and CPDF_Annot::DrawInContext().

+ Here is the caller graph for this function:

◆ CountLayers()

size_t CPDF_RenderContext::CountLayers ( ) const
inline

Definition at line 63 of file cpdf_rendercontext.h.

◆ GetBackgroundToBitmap()

void CPDF_RenderContext::GetBackgroundToBitmap ( RetainPtr< CFX_DIBitmap > bitmap,
const CPDF_PageObject * object,
const CFX_Matrix & matrix )

Definition at line 46 of file cpdf_rendercontext.cpp.

References CFX_DefaultRenderDevice::Attach(), and GetBackgroundToDevice().

+ Here is the call graph for this function:

◆ GetBackgroundToDevice()

void CPDF_RenderContext::GetBackgroundToDevice ( CFX_RenderDevice * device,
const CPDF_PageObject * object,
const CPDF_RenderOptions * options,
const CFX_Matrix & matrix )

Definition at line 36 of file cpdf_rendercontext.cpp.

References FX_RECT::FX_RECT(), CFX_RenderDevice::FillRect(), CFX_RenderDevice::GetHeight(), CFX_RenderDevice::GetWidth(), and Render().

Referenced by GetBackgroundToBitmap().

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

◆ GetDocument()

CPDF_Document * CPDF_RenderContext::GetDocument ( ) const
inline

Definition at line 66 of file cpdf_rendercontext.h.

◆ GetLayer()

Layer * CPDF_RenderContext::GetLayer ( uint32_t index)
inline

Definition at line 64 of file cpdf_rendercontext.h.

◆ GetMutablePageResources()

RetainPtr< CPDF_Dictionary > CPDF_RenderContext::GetMutablePageResources ( )
inline

Definition at line 70 of file cpdf_rendercontext.h.

◆ GetPageCache()

CPDF_PageImageCache * CPDF_RenderContext::GetPageCache ( ) const
inline

Definition at line 73 of file cpdf_rendercontext.h.

◆ GetPageResources()

const CPDF_Dictionary * CPDF_RenderContext::GetPageResources ( ) const
inline

Definition at line 67 of file cpdf_rendercontext.h.

◆ Render()

void CPDF_RenderContext::Render ( CFX_RenderDevice * pDevice,
const CPDF_PageObject * pStopObj,
const CPDF_RenderOptions * pOptions,
const CFX_Matrix * pLastMatrix )

Definition at line 59 of file cpdf_rendercontext.cpp.

Referenced by CPDF_Annot::DrawAppearance(), and GetBackgroundToDevice().

+ Here is the caller graph for this function:

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