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 XFA_SRC_FDE_FDE_VISUALSET_H_ | 7 #ifndef XFA_FDE_FDE_VISUALSET_H_ |
8 #define XFA_SRC_FDE_FDE_VISUALSET_H_ | 8 #define XFA_FDE_FDE_VISUALSET_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_coordinates.h" | 10 #include "core/include/fxcrt/fx_coordinates.h" |
11 #include "core/include/fxcrt/fx_system.h" | 11 #include "core/include/fxcrt/fx_system.h" |
12 #include "core/include/fxge/fx_dib.h" | 12 #include "core/include/fxge/fx_dib.h" |
13 #include "core/include/fxge/fx_ge.h" | 13 #include "core/include/fxge/fx_ge.h" |
14 #include "xfa/src/fde/fde_brush.h" | 14 #include "xfa/fde/fde_brush.h" |
15 #include "xfa/src/fde/fde_image.h" | 15 #include "xfa/fde/fde_image.h" |
16 #include "xfa/src/fde/fde_path.h" | 16 #include "xfa/fde/fde_path.h" |
17 #include "xfa/src/fde/fde_pen.h" | 17 #include "xfa/fde/fde_pen.h" |
18 #include "xfa/src/fgas/font/fgas_font.h" | 18 #include "xfa/fgas/font/fgas_font.h" |
19 | 19 |
20 enum FDE_VISUALOBJTYPE { | 20 enum FDE_VISUALOBJTYPE { |
21 FDE_VISUALOBJ_Canvas = 0x00, | 21 FDE_VISUALOBJ_Canvas = 0x00, |
22 FDE_VISUALOBJ_Text = 0x01, | 22 FDE_VISUALOBJ_Text = 0x01, |
23 FDE_VISUALOBJ_Image = 0x02, | 23 FDE_VISUALOBJ_Image = 0x02, |
24 FDE_VISUALOBJ_Path = 0x04, | 24 FDE_VISUALOBJ_Path = 0x04, |
25 FDE_VISUALOBJ_Widget = 0x08, | 25 FDE_VISUALOBJ_Widget = 0x08, |
26 }; | 26 }; |
27 | 27 |
28 typedef struct FDE_HVISUALOBJ_ { void* pData; } const* FDE_HVISUALOBJ; | 28 typedef struct FDE_HVISUALOBJ_ { void* pData; } const* FDE_HVISUALOBJ; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual ~IFDE_VisualSetIterator() {} | 113 virtual ~IFDE_VisualSetIterator() {} |
114 virtual void Release() = 0; | 114 virtual void Release() = 0; |
115 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0; | 115 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0; |
116 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0; | 116 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0; |
117 virtual void Reset() = 0; | 117 virtual void Reset() = 0; |
118 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet, | 118 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet, |
119 FDE_HVISUALOBJ* phCanvasObj = NULL, | 119 FDE_HVISUALOBJ* phCanvasObj = NULL, |
120 IFDE_CanvasSet** ppCanvasSet = NULL) = 0; | 120 IFDE_CanvasSet** ppCanvasSet = NULL) = 0; |
121 }; | 121 }; |
122 | 122 |
123 #endif // XFA_SRC_FDE_FDE_VISUALSET_H_ | 123 #endif // XFA_FDE_FDE_VISUALSET_H_ |
OLD | NEW |