| 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 _FDE_PEN | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_PEN_H_ |
| 8 #define _FDE_PEN | 8 #define XFA_SRC_FDP_INCLUDE_FDE_PEN_H_ |
| 9 |
| 9 class IFDE_Pen; | 10 class IFDE_Pen; |
| 10 #define FDE_PENTYPE_Unknown FDE_BRUSHTYPE_Unknown | 11 #define FDE_PENTYPE_Unknown FDE_BRUSHTYPE_Unknown |
| 11 #define FDE_PENTYPE_SolidColor FDE_BRUSHTYPE_Solid | 12 #define FDE_PENTYPE_SolidColor FDE_BRUSHTYPE_Solid |
| 12 #define FDE_PENTYPE_HatchBrush FDE_BRUSHTYPE_Hatch | 13 #define FDE_PENTYPE_HatchBrush FDE_BRUSHTYPE_Hatch |
| 13 #define FDE_PENTYPE_TextureBrush FDE_BRUSHTYPE_Texture | 14 #define FDE_PENTYPE_TextureBrush FDE_BRUSHTYPE_Texture |
| 14 #define FDE_PENTYPE_LinearGradient FDE_BRUSHTYPE_LinearGradient | 15 #define FDE_PENTYPE_LinearGradient FDE_BRUSHTYPE_LinearGradient |
| 15 #define FDE_PENTYPE_MAX FDE_BRUSHTYPE_MAX | 16 #define FDE_PENTYPE_MAX FDE_BRUSHTYPE_MAX |
| 16 #define FDE_DASHSTYLE_Solid 0 | 17 #define FDE_DASHSTYLE_Solid 0 |
| 17 #define FDE_DASHSTYLE_Dash 1 | 18 #define FDE_DASHSTYLE_Dash 1 |
| 18 #define FDE_DASHSTYLE_Dot 2 | 19 #define FDE_DASHSTYLE_Dot 2 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 virtual int32_t GetLineJoin() const = 0; | 55 virtual int32_t GetLineJoin() const = 0; |
| 55 virtual void SetLineJoin(int32_t iLineJoin) = 0; | 56 virtual void SetLineJoin(int32_t iLineJoin) = 0; |
| 56 virtual FX_FLOAT GetMiterLimit() const = 0; | 57 virtual FX_FLOAT GetMiterLimit() const = 0; |
| 57 virtual void SetMiterLimit(FX_FLOAT fMiterLimit) = 0; | 58 virtual void SetMiterLimit(FX_FLOAT fMiterLimit) = 0; |
| 58 virtual int32_t CountCompoundPatterns() const = 0; | 59 virtual int32_t CountCompoundPatterns() const = 0; |
| 59 virtual FX_BOOL GetCompoundPatterns( | 60 virtual FX_BOOL GetCompoundPatterns( |
| 60 CFDE_CompoundPatterns& compoundPatterns) const = 0; | 61 CFDE_CompoundPatterns& compoundPatterns) const = 0; |
| 61 virtual FX_BOOL SetCompoundPatterns( | 62 virtual FX_BOOL SetCompoundPatterns( |
| 62 const CFDE_CompoundPatterns& compoundPatterns) = 0; | 63 const CFDE_CompoundPatterns& compoundPatterns) = 0; |
| 63 }; | 64 }; |
| 64 #endif | 65 |
| 66 #endif // XFA_SRC_FDP_INCLUDE_FDE_PEN_H_ |
| OLD | NEW |