| 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_CFX_PATH_H_ | 7 #ifndef XFA_FXGRAPHICS_CFX_PATH_H_ |
| 8 #define XFA_FXGRAPHICS_CFX_PATH_H_ | 8 #define XFA_FXGRAPHICS_CFX_PATH_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fxcrt/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
| 13 #include "xfa/fxgraphics/include/cfx_graphics.h" | 13 #include "xfa/fxgraphics/cfx_graphics.h" |
| 14 | 14 |
| 15 class CFX_PathData; | 15 class CFX_PathData; |
| 16 class CFX_PathGenerator; | 16 class CFX_PathGenerator; |
| 17 | 17 |
| 18 class CFX_Path final { | 18 class CFX_Path final { |
| 19 public: | 19 public: |
| 20 CFX_Path(); | 20 CFX_Path(); |
| 21 ~CFX_Path(); | 21 ~CFX_Path(); |
| 22 | 22 |
| 23 FWL_Error Create(); | 23 FWL_Error Create(); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 FWL_Error Clear(); | 71 FWL_Error Clear(); |
| 72 | 72 |
| 73 FX_BOOL IsEmpty() const; | 73 FX_BOOL IsEmpty() const; |
| 74 CFX_PathData* GetPathData() const; | 74 CFX_PathData* GetPathData() const; |
| 75 | 75 |
| 76 private: | 76 private: |
| 77 std::unique_ptr<CFX_PathGenerator> m_generator; | 77 std::unique_ptr<CFX_PathGenerator> m_generator; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 #endif // XFA_FXGRAPHICS_CFX_PATH_H_ | 80 #endif // XFA_FXGRAPHICS_CFX_PATH_H_ |
| OLD | NEW |