| 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_FXGRAPHICS_CFX_PATH_GENERATOR_H_ | 7 #ifndef XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ |
| 8 #define XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ | 8 #define XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fxge/include/cfx_pathdata.h" | 12 #include "core/fxge/cfx_pathdata.h" |
| 13 | 13 |
| 14 class CFX_PathGenerator { | 14 class CFX_PathGenerator { |
| 15 public: | 15 public: |
| 16 CFX_PathGenerator(); | 16 CFX_PathGenerator(); |
| 17 ~CFX_PathGenerator(); | 17 ~CFX_PathGenerator(); |
| 18 | 18 |
| 19 CFX_PathData* GetPathData() const { return m_pPathData.get(); } | 19 CFX_PathData* GetPathData() const { return m_pPathData.get(); } |
| 20 | 20 |
| 21 void AddPathData(CFX_PathData* path_data); | 21 void AddPathData(CFX_PathData* path_data); |
| 22 void AddPathData(FX_PATHPOINT* points, int count); | 22 void AddPathData(FX_PATHPOINT* points, int count); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 FX_FLOAT width, | 59 FX_FLOAT width, |
| 60 FX_FLOAT height, | 60 FX_FLOAT height, |
| 61 FX_FLOAT start_angle, | 61 FX_FLOAT start_angle, |
| 62 FX_FLOAT sweep_angle); | 62 FX_FLOAT sweep_angle); |
| 63 | 63 |
| 64 protected: | 64 protected: |
| 65 std::unique_ptr<CFX_PathData> m_pPathData; | 65 std::unique_ptr<CFX_PathData> m_pPathData; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 #endif // XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ | 68 #endif // XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ |
| OLD | NEW |