![]() |
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_devicebuffer.h>
Public Member Functions | |
| CPDF_DeviceBuffer (CPDF_RenderContext *pContext, CFX_RenderDevice *pDevice, const FX_RECT &rect, const CPDF_PageObject *pObj, int max_dpi) | |
| ~CPDF_DeviceBuffer () | |
| RetainPtr< CFX_DIBitmap > | Initialize () |
| void | OutputToDevice () |
| const CFX_Matrix & | GetMatrix () const |
Static Public Member Functions | |
| static CFX_Matrix | CalculateMatrix (CFX_RenderDevice *pDevice, const FX_RECT &rect, int max_dpi, bool scale) |
Definition at line 20 of file cpdf_devicebuffer.h.
| CPDF_DeviceBuffer::CPDF_DeviceBuffer | ( | CPDF_RenderContext * | pContext, |
| CFX_RenderDevice * | pDevice, | ||
| const FX_RECT & | rect, | ||
| const CPDF_PageObject * | pObj, | ||
| int | max_dpi ) |
Definition at line 60 of file cpdf_devicebuffer.cpp.
References CPDF_DeviceBuffer(), FX_RECT::FX_RECT(), and CalculateMatrix().
Referenced by CPDF_DeviceBuffer(), and CPDF_RenderShading::Draw().
|
default |
|
static |
Definition at line 37 of file cpdf_devicebuffer.cpp.
References CFX_RenderDevice::GetDeviceCaps(), FX_RECT::left, CFX_Matrix::Scale(), FX_RECT::top, and CFX_Matrix::Translate().
Referenced by CPDF_DeviceBuffer().
|
inline |
Definition at line 38 of file cpdf_devicebuffer.h.
Referenced by CPDF_RenderShading::Draw().
|
nodiscard |
Definition at line 77 of file cpdf_devicebuffer.cpp.
References CFX_FloatRect::CFX_FloatRect(), CFX_FloatRect::GetOuterRect(), and CFX_Matrix::TransformRect().
| void CPDF_DeviceBuffer::OutputToDevice | ( | ) |
Definition at line 89 of file cpdf_devicebuffer.cpp.
References CFX_Matrix::a, and CFX_Matrix::d.
Referenced by CPDF_RenderShading::Draw().