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_SRC_FXGRAPHICS_FX_PATH_GENERATOR_H_ | 7 #ifndef XFA_FXGRAPHICS_FX_PATH_GENERATOR_H_ |
8 #define XFA_SRC_FXGRAPHICS_FX_PATH_GENERATOR_H_ | 8 #define XFA_FXGRAPHICS_FX_PATH_GENERATOR_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
11 | 11 |
12 class CFX_PathGenerator { | 12 class CFX_PathGenerator { |
13 public: | 13 public: |
14 CFX_PathGenerator(); | 14 CFX_PathGenerator(); |
15 void Create(); | 15 void Create(); |
16 ~CFX_PathGenerator(); | 16 ~CFX_PathGenerator(); |
17 CFX_PathData* GetPathData() const { return m_pPathData; } | 17 CFX_PathData* GetPathData() const { return m_pPathData; } |
18 void AddPathData(CFX_PathData* path_data); | 18 void AddPathData(CFX_PathData* path_data); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 FX_FLOAT y, | 54 FX_FLOAT y, |
55 FX_FLOAT width, | 55 FX_FLOAT width, |
56 FX_FLOAT height, | 56 FX_FLOAT height, |
57 FX_FLOAT start_angle, | 57 FX_FLOAT start_angle, |
58 FX_FLOAT sweep_angle); | 58 FX_FLOAT sweep_angle); |
59 | 59 |
60 protected: | 60 protected: |
61 CFX_PathData* m_pPathData; | 61 CFX_PathData* m_pPathData; |
62 }; | 62 }; |
63 | 63 |
64 #endif // XFA_SRC_FXGRAPHICS_FX_PATH_GENERATOR_H_ | 64 #endif // XFA_FXGRAPHICS_FX_PATH_GENERATOR_H_ |
OLD | NEW |