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_STROKE_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_STROKE_H_ |
8 #define XFA_FXFA_PARSER_CXFA_STROKE_H_ | 8 #define XFA_FXFA_PARSER_CXFA_STROKE_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 #include "core/fxge/include/fx_dib.h" | 11 #include "core/fxge/include/fx_dib.h" |
12 #include "xfa/fxfa/include/fxfa_basic.h" | 12 #include "xfa/fxfa/include/fxfa_basic.h" |
13 #include "xfa/fxfa/parser/cxfa_data.h" | 13 #include "xfa/fxfa/parser/cxfa_data.h" |
14 | 14 |
15 enum StrokeSameStyle { | 15 enum StrokeSameStyle { |
16 XFA_STROKE_SAMESTYLE_NoPresence = 1, | 16 XFA_STROKE_SAMESTYLE_NoPresence = 1, |
17 XFA_STROKE_SAMESTYLE_Corner = 2 | 17 XFA_STROKE_SAMESTYLE_Corner = 2 |
18 }; | 18 }; |
19 | 19 |
20 class CXFA_Node; | 20 class CXFA_Node; |
(...skipping 15 matching lines...) Expand all Loading... |
36 void SetColor(FX_ARGB argb); | 36 void SetColor(FX_ARGB argb); |
37 int32_t GetJoinType() const; | 37 int32_t GetJoinType() const; |
38 FX_BOOL IsInverted() const; | 38 FX_BOOL IsInverted() const; |
39 FX_FLOAT GetRadius() const; | 39 FX_FLOAT GetRadius() const; |
40 FX_BOOL SameStyles(CXFA_Stroke stroke, uint32_t dwFlags = 0) const; | 40 FX_BOOL SameStyles(CXFA_Stroke stroke, uint32_t dwFlags = 0) const; |
41 }; | 41 }; |
42 | 42 |
43 typedef CFX_ArrayTemplate<CXFA_Stroke> CXFA_StrokeArray; | 43 typedef CFX_ArrayTemplate<CXFA_Stroke> CXFA_StrokeArray; |
44 | 44 |
45 #endif // XFA_FXFA_PARSER_CXFA_STROKE_H_ | 45 #endif // XFA_FXFA_PARSER_CXFA_STROKE_H_ |
OLD | NEW |