Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: xfa/src/fdp/include/fde_rdr.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fdp/include/fde_psr.h ('k') | xfa/src/fdp/include/fde_rdv.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
11 class IFDE_RenderContext; 11 class IFDE_RenderContext;
12 void» FDE_GetPageMatrix(CFX_Matrix &pageMatrix, const CFX_RectF &docPageRect, const CFX_Rect &devicePageRect, FX_INT32 iRotate, FX_DWORD dwCoordinatesType = 0 ); 12 void» FDE_GetPageMatrix(CFX_Matrix &pageMatrix, const CFX_RectF &docPageRect, const CFX_Rect &devicePageRect, int32_t iRotate, FX_DWORD dwCoordinatesType = 0) ;
13 enum FDE_RENDERSTATUS { 13 enum FDE_RENDERSTATUS {
14 FDE_RENDERSTATUS_Reset = 0, 14 FDE_RENDERSTATUS_Reset = 0,
15 FDE_RENDERSTATUS_Paused , 15 FDE_RENDERSTATUS_Paused ,
16 FDE_RENDERSTATUS_Done , 16 FDE_RENDERSTATUS_Done ,
17 FDE_RENDERSTATUS_Failed , 17 FDE_RENDERSTATUS_Failed ,
18 }; 18 };
19 class IFDE_RenderContext 19 class IFDE_RenderContext
20 { 20 {
21 public: 21 public:
22 static IFDE_RenderContext* Create(); 22 static IFDE_RenderContext* Create();
23 virtual void Release() = 0; 23 virtual void Release() = 0;
24 virtual FX_BOOL StartRender(IFDE_RenderDevice *p RenderDevice, 24 virtual FX_BOOL StartRender(IFDE_RenderDevice *p RenderDevice,
25 IFDE_CanvasSet *pCanvasSet, 25 IFDE_CanvasSet *pCanvasSet,
26 const CFX_Matrix &tmDoc2Device 26 const CFX_Matrix &tmDoc2Device
27 ) = 0; 27 ) = 0;
28 virtual FDE_RENDERSTATUS GetStatus() const = 0; 28 virtual FDE_RENDERSTATUS GetStatus() const = 0;
29 virtual FDE_RENDERSTATUS DoRender(IFX_Pause *pPause = NULL) = 0; 29 virtual FDE_RENDERSTATUS DoRender(IFX_Pause *pPause = NULL) = 0;
30 virtual void StopRender() = 0; 30 virtual void StopRender() = 0;
31 }; 31 };
32 #endif 32 #endif
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_psr.h ('k') | xfa/src/fdp/include/fde_rdv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698