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_rendercontext.h>
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 |
Layer * | GetLayer (uint32_t index) |
CPDF_Document * | GetDocument () const |
const CPDF_Dictionary * | GetPageResources () const |
RetainPtr< CPDF_Dictionary > | GetMutablePageResources () |
CPDF_PageImageCache * | GetPageCache () const |
Definition at line 26 of file cpdf_rendercontext.h.
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().
|
default |
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().
|
inline |
Definition at line 63 of file cpdf_rendercontext.h.
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().
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().
|
inline |
Definition at line 66 of file cpdf_rendercontext.h.
|
inline |
Definition at line 64 of file cpdf_rendercontext.h.
|
inline |
Definition at line 70 of file cpdf_rendercontext.h.
|
inline |
Definition at line 73 of file cpdf_rendercontext.h.
|
inline |
Definition at line 67 of file cpdf_rendercontext.h.
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().