| 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 CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ | 7 #ifndef CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ |
| 8 #define CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ | 8 #define CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "core/fxge/include/cfx_renderdevice.h" |
| 12 | 13 |
| 13 struct FX_PATHPOINT { | 14 struct FX_PATHPOINT { |
| 14 FX_FLOAT m_PointX; | 15 FX_FLOAT m_PointX; |
| 15 FX_FLOAT m_PointY; | 16 FX_FLOAT m_PointY; |
| 16 int m_Flag; | 17 int m_Flag; |
| 17 }; | 18 }; |
| 18 | 19 |
| 19 class CFX_PathData { | 20 class CFX_PathData { |
| 20 public: | 21 public: |
| 21 CFX_PathData(); | 22 CFX_PathData(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 48 | 49 |
| 49 private: | 50 private: |
| 50 friend class CPDF_Path; | 51 friend class CPDF_Path; |
| 51 | 52 |
| 52 int m_PointCount; | 53 int m_PointCount; |
| 53 FX_PATHPOINT* m_pPoints; | 54 FX_PATHPOINT* m_pPoints; |
| 54 int m_AllocCount; | 55 int m_AllocCount; |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ | 58 #endif // CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ |
| OLD | NEW |