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_BRUSH | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ |
8 #define _FDE_BRUSH | 8 #define XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ |
| 9 |
9 class IFDE_Image; | 10 class IFDE_Image; |
10 class IFDE_Path; | 11 class IFDE_Path; |
11 class IFDE_Brush; | 12 class IFDE_Brush; |
12 class IFDE_SolidBrush; | 13 class IFDE_SolidBrush; |
13 class IFDE_HatchBrush; | 14 class IFDE_HatchBrush; |
14 class IFDE_TextureBrush; | 15 class IFDE_TextureBrush; |
15 class IFDE_LinearGradientBrush; | 16 class IFDE_LinearGradientBrush; |
16 #define FDE_BRUSHTYPE_Unknown -1 | 17 #define FDE_BRUSHTYPE_Unknown -1 |
17 #define FDE_BRUSHTYPE_Solid 0 | 18 #define FDE_BRUSHTYPE_Solid 0 |
18 #define FDE_BRUSHTYPE_Hatch 1 | 19 #define FDE_BRUSHTYPE_Hatch 1 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual void GetLinearColors(FX_ARGB& startingColor, | 134 virtual void GetLinearColors(FX_ARGB& startingColor, |
134 FX_ARGB& endingColor) const = 0; | 135 FX_ARGB& endingColor) const = 0; |
135 virtual void SetLinearColors(const FX_ARGB& startingColor, | 136 virtual void SetLinearColors(const FX_ARGB& startingColor, |
136 const FX_ARGB& endingColor) = 0; | 137 const FX_ARGB& endingColor) = 0; |
137 virtual int32_t CountGradientColors() const = 0; | 138 virtual int32_t CountGradientColors() const = 0; |
138 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; | 139 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; |
139 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; | 140 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; |
140 virtual int32_t GetWrapMode() const = 0; | 141 virtual int32_t GetWrapMode() const = 0; |
141 virtual void SetWrapMode(int32_t iWrapMode) = 0; | 142 virtual void SetWrapMode(int32_t iWrapMode) = 0; |
142 }; | 143 }; |
143 #endif | 144 |
| 145 #endif // XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ |
OLD | NEW |