OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ | 7 #ifndef XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ |
8 #define XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ | 8 #define XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/include/fx_system.h" |
| 13 #include "core/fxge/include/cfx_fxgedevice.h" |
| 14 #include "core/fxge/include/cfx_graphstatedata.h" |
| 15 #include "core/fxge/include/cfx_renderdevice.h" |
13 #include "core/fxge/include/fx_dib.h" | 16 #include "core/fxge/include/fx_dib.h" |
14 #include "core/fxge/include/fx_ge.h" | 17 #include "core/fxge/include/fx_font.h" |
15 #include "xfa/fwl/core/fwl_error.h" | 18 #include "xfa/fwl/core/fwl_error.h" |
16 | 19 |
17 class CFX_Color; | 20 class CFX_Color; |
18 class CFX_Path; | 21 class CFX_Path; |
19 class CAGG_Graphics; | 22 class CAGG_Graphics; |
20 | 23 |
21 using FX_DeviceCap = int32_t; | 24 using FX_DeviceCap = int32_t; |
22 using FX_FillMode = int32_t; | 25 using FX_FillMode = int32_t; |
23 | 26 |
24 enum FX_DashStyle { | 27 enum FX_DashStyle { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 FXTEXT_CHARPOS* charPos, | 233 FXTEXT_CHARPOS* charPos, |
231 CFX_RectF& rect); | 234 CFX_RectF& rect); |
232 | 235 |
233 CFX_RenderDevice* m_renderDevice; | 236 CFX_RenderDevice* m_renderDevice; |
234 CFX_ArrayTemplate<TInfo*> m_infoStack; | 237 CFX_ArrayTemplate<TInfo*> m_infoStack; |
235 std::unique_ptr<CAGG_Graphics> m_aggGraphics; | 238 std::unique_ptr<CAGG_Graphics> m_aggGraphics; |
236 friend class CAGG_Graphics; | 239 friend class CAGG_Graphics; |
237 }; | 240 }; |
238 | 241 |
239 #endif // XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ | 242 #endif // XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_ |
OLD | NEW |