OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _FDE_RENDERCONTEXT | 7 #ifndef _FDE_RENDERCONTEXT |
8 #define _FDE_RENDERCONTEXT | 8 #define _FDE_RENDERCONTEXT |
9 class IFDE_Page; | 9 class IFDE_Page; |
10 class IFDE_RenderDevice; | 10 class IFDE_RenderDevice; |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual ~IFDE_RenderContext() {} | 27 virtual ~IFDE_RenderContext() {} |
28 virtual void Release() = 0; | 28 virtual void Release() = 0; |
29 virtual FX_BOOL StartRender(IFDE_RenderDevice* pRenderDevice, | 29 virtual FX_BOOL StartRender(IFDE_RenderDevice* pRenderDevice, |
30 IFDE_CanvasSet* pCanvasSet, | 30 IFDE_CanvasSet* pCanvasSet, |
31 const CFX_Matrix& tmDoc2Device) = 0; | 31 const CFX_Matrix& tmDoc2Device) = 0; |
32 virtual FDE_RENDERSTATUS GetStatus() const = 0; | 32 virtual FDE_RENDERSTATUS GetStatus() const = 0; |
33 virtual FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = NULL) = 0; | 33 virtual FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = NULL) = 0; |
34 virtual void StopRender() = 0; | 34 virtual void StopRender() = 0; |
35 }; | 35 }; |
36 #endif | 36 #endif |
OLD | NEW |