diff options
Diffstat (limited to 'fpdfsdk/include/fsdk_rendercontext.h')
-rw-r--r-- | fpdfsdk/include/fsdk_rendercontext.h | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/fpdfsdk/include/fsdk_rendercontext.h b/fpdfsdk/include/fsdk_rendercontext.h index b2bc163b49..9d1dabd41c 100644 --- a/fpdfsdk/include/fsdk_rendercontext.h +++ b/fpdfsdk/include/fsdk_rendercontext.h @@ -11,33 +11,31 @@ #include "fsdk_define.h" // Everything about rendering is put here: for OOM recovery -class CRenderContext -{ -public: - CRenderContext() { Clear(); } - ~CRenderContext(); - - void Clear(); - - CFX_RenderDevice* m_pDevice; - CPDF_RenderContext* m_pContext; - CPDF_ProgressiveRenderer* m_pRenderer; - CPDF_AnnotList* m_pAnnots; - CPDF_RenderOptions* m_pOptions; +class CRenderContext { + public: + CRenderContext() { Clear(); } + ~CRenderContext(); + + void Clear(); + + CFX_RenderDevice* m_pDevice; + CPDF_RenderContext* m_pContext; + CPDF_ProgressiveRenderer* m_pRenderer; + CPDF_AnnotList* m_pAnnots; + CPDF_RenderOptions* m_pOptions; #ifdef _WIN32_WCE - CFX_DIBitmap* m_pBitmap; - HBITMAP m_hBitmap; + CFX_DIBitmap* m_pBitmap; + HBITMAP m_hBitmap; #endif }; -class IFSDK_PAUSE_Adapter : public IFX_Pause -{ -public: - IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause ); - FX_BOOL NeedToPauseNow(); +class IFSDK_PAUSE_Adapter : public IFX_Pause { + public: + IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause); + FX_BOOL NeedToPauseNow(); -private: - IFSDK_PAUSE* m_IPause; + private: + IFSDK_PAUSE* m_IPause; }; #endif // FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ |