| 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> |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 FX_FLOAT sweepAngle); | 63 FX_FLOAT sweepAngle); |
| 64 FWL_Error AddPie(FX_FLOAT left, | 64 FWL_Error AddPie(FX_FLOAT left, |
| 65 FX_FLOAT top, | 65 FX_FLOAT top, |
| 66 FX_FLOAT width, | 66 FX_FLOAT width, |
| 67 FX_FLOAT height, | 67 FX_FLOAT height, |
| 68 FX_FLOAT startAngle, | 68 FX_FLOAT startAngle, |
| 69 FX_FLOAT sweepAngle); | 69 FX_FLOAT sweepAngle); |
| 70 FWL_Error AddSubpath(CFX_Path* path); | 70 FWL_Error AddSubpath(CFX_Path* path); |
| 71 FWL_Error Clear(); | 71 FWL_Error Clear(); |
| 72 | 72 |
| 73 FX_BOOL IsEmpty() const; | 73 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 |