summaryrefslogtreecommitdiff
path: root/xfa/src/fdp/include/fde_rdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fdp/include/fde_rdr.h')
-rw-r--r--xfa/src/fdp/include/fde_rdr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/src/fdp/include/fde_rdr.h b/xfa/src/fdp/include/fde_rdr.h
index cbae1c26fa..aef459f24d 100644
--- a/xfa/src/fdp/include/fde_rdr.h
+++ b/xfa/src/fdp/include/fde_rdr.h
@@ -8,7 +8,7 @@
#define _FDE_RENDERCONTEXT
class IFDE_Page;
class IFDE_RenderDevice;
-class IFDE_RenderContext;
+
void FDE_GetPageMatrix(CFX_Matrix &pageMatrix, const CFX_RectF &docPageRect, const CFX_Rect &devicePageRect, int32_t iRotate, FX_DWORD dwCoordinatesType = 0);
enum FDE_RENDERSTATUS {
FDE_RENDERSTATUS_Reset = 0,
@@ -16,10 +16,12 @@ enum FDE_RENDERSTATUS {
FDE_RENDERSTATUS_Done ,
FDE_RENDERSTATUS_Failed ,
};
+
class IFDE_RenderContext
{
public:
static IFDE_RenderContext* Create();
+ virtual ~IFDE_RenderContext() {}
virtual void Release() = 0;
virtual FX_BOOL StartRender(IFDE_RenderDevice *pRenderDevice,
IFDE_CanvasSet *pCanvasSet,