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