diff options
author | Nicolas Pena <npm@chromium.org> | 2016-11-30 14:56:27 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2016-12-01 19:02:46 +0000 |
commit | 8a463c5a1a2252b5fdbff3b5ab07d50273bbc391 (patch) | |
tree | d9c43fcedbbc5b6412eca598b73724a696f41b22 /core/fpdfapi/render/render_int.h | |
parent | 560680ce6d556a720e30bb6229fcb0751a37283e (diff) | |
download | pdfium-8a463c5a1a2252b5fdbff3b5ab07d50273bbc391.tar.xz |
Remove fpdf_render.cpp
Split the remaining code into files per class.
Change-Id: Idb959dbf807223a509e16c76f9626e61856a886b
Reviewed-on: https://pdfium-review.googlesource.com/2094
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/render_int.h')
-rw-r--r-- | core/fpdfapi/render/render_int.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/core/fpdfapi/render/render_int.h b/core/fpdfapi/render/render_int.h index 9336e068d4..dfad6b14c6 100644 --- a/core/fpdfapi/render/render_int.h +++ b/core/fpdfapi/render/render_int.h @@ -49,54 +49,6 @@ class CPDF_Type3Glyphs; class CPDF_Type3Char; class CPDF_Type3Font; -class CPDF_ScaledRenderBuffer { - public: - CPDF_ScaledRenderBuffer(); - ~CPDF_ScaledRenderBuffer(); - - bool Initialize(CPDF_RenderContext* pContext, - CFX_RenderDevice* pDevice, - const FX_RECT& pRect, - const CPDF_PageObject* pObj, - const CPDF_RenderOptions* pOptions = nullptr, - int max_dpi = 0); - CFX_RenderDevice* GetDevice() { - return m_pBitmapDevice ? m_pBitmapDevice.get() : m_pDevice; - } - CFX_Matrix* GetMatrix() { return &m_Matrix; } - void OutputToDevice(); - - private: - CFX_RenderDevice* m_pDevice; - CPDF_RenderContext* m_pContext; - FX_RECT m_Rect; - const CPDF_PageObject* m_pObject; - std::unique_ptr<CFX_FxgeDevice> m_pBitmapDevice; - CFX_Matrix m_Matrix; -}; - -class CPDF_DeviceBuffer { - public: - CPDF_DeviceBuffer(); - ~CPDF_DeviceBuffer(); - bool Initialize(CPDF_RenderContext* pContext, - CFX_RenderDevice* pDevice, - FX_RECT* pRect, - const CPDF_PageObject* pObj, - int max_dpi = 0); - void OutputToDevice(); - CFX_DIBitmap* GetBitmap() const { return m_pBitmap.get(); } - const CFX_Matrix* GetMatrix() const { return &m_Matrix; } - - private: - CFX_RenderDevice* m_pDevice; - CPDF_RenderContext* m_pContext; - FX_RECT m_Rect; - const CPDF_PageObject* m_pObject; - std::unique_ptr<CFX_DIBitmap> m_pBitmap; - CFX_Matrix m_Matrix; -}; - class CPDF_ImageCacheEntry { public: CPDF_ImageCacheEntry(CPDF_Document* pDoc, CPDF_Stream* pStream); |