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_FXFA_PARSER_CXFA_BOX_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_BOX_H_ |
8 #define XFA_FXFA_PARSER_CXFA_BOX_H_ | 8 #define XFA_FXFA_PARSER_CXFA_BOX_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 #include "xfa/fxfa/parser/cxfa_data.h" | 11 #include "xfa/fxfa/parser/cxfa_data.h" |
12 #include "xfa/fxfa/parser/cxfa_edge.h" | 12 #include "xfa/fxfa/parser/cxfa_edge.h" |
13 #include "xfa/fxfa/parser/cxfa_fill.h" | 13 #include "xfa/fxfa/parser/cxfa_fill.h" |
14 #include "xfa/fxfa/parser/cxfa_margin.h" | 14 #include "xfa/fxfa/parser/cxfa_margin.h" |
15 | 15 |
16 class CXFA_Node; | 16 class CXFA_Node; |
17 | 17 |
18 class CXFA_Box : public CXFA_Data { | 18 class CXFA_Box : public CXFA_Data { |
19 public: | 19 public: |
20 explicit CXFA_Box(CXFA_Node* pNode) : CXFA_Data(pNode) {} | 20 explicit CXFA_Box(CXFA_Node* pNode) : CXFA_Data(pNode) {} |
(...skipping 22 matching lines...) Expand all Loading... |
43 GetSweepAngle(fSweepAngle); | 43 GetSweepAngle(fSweepAngle); |
44 return fSweepAngle; | 44 return fSweepAngle; |
45 } | 45 } |
46 | 46 |
47 CXFA_Fill GetFill(FX_BOOL bModified = FALSE) const; | 47 CXFA_Fill GetFill(FX_BOOL bModified = FALSE) const; |
48 CXFA_Margin GetMargin() const; | 48 CXFA_Margin GetMargin() const; |
49 int32_t Get3DStyle(FX_BOOL& bVisible, FX_FLOAT& fThickness) const; | 49 int32_t Get3DStyle(FX_BOOL& bVisible, FX_FLOAT& fThickness) const; |
50 }; | 50 }; |
51 | 51 |
52 #endif // XFA_FXFA_PARSER_CXFA_BOX_H_ | 52 #endif // XFA_FXFA_PARSER_CXFA_BOX_H_ |
OLD | NEW |