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 "core/include/fxge/fx_ge.h" | 10 #include "core/fxge/include/fx_ge.h" |
11 | 11 |
12 class CFX_PathGenerator { | 12 class CFX_PathGenerator { |
13 public: | 13 public: |
14 CFX_PathGenerator(); | 14 CFX_PathGenerator(); |
15 ~CFX_PathGenerator(); | 15 ~CFX_PathGenerator(); |
16 | 16 |
17 void Create(); | 17 void Create(); |
18 CFX_PathData* GetPathData() const { return m_pPathData; } | 18 CFX_PathData* GetPathData() const { return m_pPathData; } |
19 | 19 |
20 void AddPathData(CFX_PathData* path_data); | 20 void AddPathData(CFX_PathData* path_data); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 FX_FLOAT width, | 58 FX_FLOAT width, |
59 FX_FLOAT height, | 59 FX_FLOAT height, |
60 FX_FLOAT start_angle, | 60 FX_FLOAT start_angle, |
61 FX_FLOAT sweep_angle); | 61 FX_FLOAT sweep_angle); |
62 | 62 |
63 protected: | 63 protected: |
64 CFX_PathData* m_pPathData; | 64 CFX_PathData* m_pPathData; |
65 }; | 65 }; |
66 | 66 |
67 #endif // XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ | 67 #endif // XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_ |
OLD | NEW |