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

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

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 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_img.h ('k') | xfa/src/fdp/include/fde_rdr.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 XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_PSR_H_
8 #define XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ 8 #define XFA_SRC_FDP_INCLUDE_FDE_PSR_H_
9 9
10 #include "core/include/fxcrt/fx_coordinates.h"
11 #include "core/include/fxcrt/fx_system.h"
12 #include "core/include/fxge/fx_dib.h"
13 #include "core/include/fxge/fx_ge.h"
14 #include "xfa/src/fdp/include/fde_brs.h"
15 #include "xfa/src/fdp/include/fde_img.h"
16 #include "xfa/src/fdp/include/fde_pen.h"
17 #include "xfa/src/fdp/include/fde_pth.h"
18 #include "xfa/src/fgas/include/fx_fnt.h"
19
10 enum FDE_VISUALOBJTYPE { 20 enum FDE_VISUALOBJTYPE {
11 FDE_VISUALOBJ_Canvas = 0x00, 21 FDE_VISUALOBJ_Canvas = 0x00,
12 FDE_VISUALOBJ_Text = 0x01, 22 FDE_VISUALOBJ_Text = 0x01,
13 FDE_VISUALOBJ_Image = 0x02, 23 FDE_VISUALOBJ_Image = 0x02,
14 FDE_VISUALOBJ_Path = 0x04, 24 FDE_VISUALOBJ_Path = 0x04,
15 FDE_VISUALOBJ_Widget = 0x08, 25 FDE_VISUALOBJ_Widget = 0x08,
16 }; 26 };
27
17 typedef struct _FDE_HVISUALOBJ { void* pData; } const* FDE_HVISUALOBJ; 28 typedef struct _FDE_HVISUALOBJ { void* pData; } const* FDE_HVISUALOBJ;
29
18 class IFDE_VisualSet { 30 class IFDE_VisualSet {
19 public: 31 public:
20 virtual ~IFDE_VisualSet() {} 32 virtual ~IFDE_VisualSet() {}
21 virtual FDE_VISUALOBJTYPE GetType() = 0; 33 virtual FDE_VISUALOBJTYPE GetType() = 0;
22 virtual FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox) = 0; 34 virtual FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox) = 0;
23 virtual FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) = 0; 35 virtual FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) = 0;
24 virtual FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) = 0; 36 virtual FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) = 0;
25 virtual FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) = 0; 37 virtual FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) = 0;
26 }; 38 };
39
27 class IFDE_CanvasSet : public IFDE_VisualSet { 40 class IFDE_CanvasSet : public IFDE_VisualSet {
28 public: 41 public:
29 virtual FX_POSITION GetFirstPosition(FDE_HVISUALOBJ hCanvas) = 0; 42 virtual FX_POSITION GetFirstPosition(FDE_HVISUALOBJ hCanvas) = 0;
30 virtual FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas, 43 virtual FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas,
31 FX_POSITION& pos, 44 FX_POSITION& pos,
32 IFDE_VisualSet*& pVisualSet) = 0; 45 IFDE_VisualSet*& pVisualSet) = 0;
33 virtual FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas, 46 virtual FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas,
34 IFDE_VisualSet*& pVisualSet) = 0; 47 IFDE_VisualSet*& pVisualSet) = 0;
35 }; 48 };
36 class IFDE_TextSet : public IFDE_VisualSet { 49 class IFDE_TextSet : public IFDE_VisualSet {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void Release() = 0; 111 virtual void Release() = 0;
99 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0; 112 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0;
100 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0; 113 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0;
101 virtual void Reset() = 0; 114 virtual void Reset() = 0;
102 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet, 115 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet,
103 FDE_HVISUALOBJ* phCanvasObj = NULL, 116 FDE_HVISUALOBJ* phCanvasObj = NULL,
104 IFDE_CanvasSet** ppCanvasSet = NULL) = 0; 117 IFDE_CanvasSet** ppCanvasSet = NULL) = 0;
105 }; 118 };
106 119
107 #endif // XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ 120 #endif // XFA_SRC_FDP_INCLUDE_FDE_PSR_H_
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_img.h ('k') | xfa/src/fdp/include/fde_rdr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698