1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
7 #include "../include/fsdk_rendercontext.h"
9 void CRenderContext::Clear()
22 CRenderContext::~CRenderContext()
28 delete m_pOptions->m_pOCContext;
32 if (m_hBitmap) DeleteObject(m_hBitmap);
36 IFSDK_PAUSE_Adapter::IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause )
41 FX_BOOL IFSDK_PAUSE_Adapter::NeedToPauseNow()
43 if (m_IPause->NeedToPauseNow) {
44 return m_IPause->NeedToPauseNow(m_IPause);