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