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_GEDEVICE_H_ | 7 #ifndef XFA_FDE_FDE_GEDEVICE_H_ |
8 #define XFA_SRC_FDE_FDE_GEDEVICE_H_ | 8 #define XFA_FDE_FDE_GEDEVICE_H_ |
9 | 9 |
10 #include "xfa/src/fde/fde_renderdevice.h" | 10 #include "xfa/fde/fde_renderdevice.h" |
11 #include "xfa/src/fgas/crt/fgas_memory.h" | 11 #include "xfa/fgas/crt/fgas_memory.h" |
12 | 12 |
13 class CFDE_FxgeDevice : public IFDE_RenderDevice, public CFX_Target { | 13 class CFDE_FxgeDevice : public IFDE_RenderDevice, public CFX_Target { |
14 public: | 14 public: |
15 CFDE_FxgeDevice(CFX_RenderDevice* pDevice, FX_BOOL bOwnerDevice); | 15 CFDE_FxgeDevice(CFX_RenderDevice* pDevice, FX_BOOL bOwnerDevice); |
16 ~CFDE_FxgeDevice(); | 16 ~CFDE_FxgeDevice(); |
17 virtual void Release() { delete this; } | 17 virtual void Release() { delete this; } |
18 | 18 |
19 virtual int32_t GetWidth() const; | 19 virtual int32_t GetWidth() const; |
20 virtual int32_t GetHeight() const; | 20 virtual int32_t GetHeight() const; |
21 virtual FDE_HDEVICESTATE SaveState(); | 21 virtual FDE_HDEVICESTATE SaveState(); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 const CFX_DIBitmap* pBitmap, | 126 const CFX_DIBitmap* pBitmap, |
127 const CFX_PathData* pPath, | 127 const CFX_PathData* pPath, |
128 const CFX_Matrix* pMatrix); | 128 const CFX_Matrix* pMatrix); |
129 CFX_RenderDevice* m_pDevice; | 129 CFX_RenderDevice* m_pDevice; |
130 CFX_RectF m_rtClip; | 130 CFX_RectF m_rtClip; |
131 FX_BOOL m_bOwnerDevice; | 131 FX_BOOL m_bOwnerDevice; |
132 FXTEXT_CHARPOS* m_pCharPos; | 132 FXTEXT_CHARPOS* m_pCharPos; |
133 int32_t m_iCharCount; | 133 int32_t m_iCharCount; |
134 }; | 134 }; |
135 | 135 |
136 #endif // XFA_SRC_FDE_FDE_GEDEVICE_H_ | 136 #endif // XFA_FDE_FDE_GEDEVICE_H_ |
OLD | NEW |