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_FDE_FDE_BRUSH_H_ | 7 #ifndef XFA_FDE_FDE_BRUSH_H_ |
8 #define XFA_SRC_FDE_FDE_BRUSH_H_ | 8 #define XFA_FDE_FDE_BRUSH_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_system.h" | 10 #include "core/include/fxcrt/fx_system.h" |
11 #include "core/include/fxge/fx_dib.h" | 11 #include "core/include/fxge/fx_dib.h" |
12 | 12 |
13 class IFDE_Image; | 13 class IFDE_Image; |
14 | 14 |
15 #define FDE_BRUSHTYPE_Unknown -1 | 15 #define FDE_BRUSHTYPE_Unknown -1 |
16 #define FDE_BRUSHTYPE_Solid 0 | 16 #define FDE_BRUSHTYPE_Solid 0 |
17 #define FDE_BRUSHTYPE_Hatch 1 | 17 #define FDE_BRUSHTYPE_Hatch 1 |
18 #define FDE_BRUSHTYPE_Texture 2 | 18 #define FDE_BRUSHTYPE_Texture 2 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 FX_ARGB& endingColor) const = 0; | 140 FX_ARGB& endingColor) const = 0; |
141 virtual void SetLinearColors(const FX_ARGB& startingColor, | 141 virtual void SetLinearColors(const FX_ARGB& startingColor, |
142 const FX_ARGB& endingColor) = 0; | 142 const FX_ARGB& endingColor) = 0; |
143 virtual int32_t CountGradientColors() const = 0; | 143 virtual int32_t CountGradientColors() const = 0; |
144 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; | 144 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; |
145 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; | 145 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; |
146 virtual int32_t GetWrapMode() const = 0; | 146 virtual int32_t GetWrapMode() const = 0; |
147 virtual void SetWrapMode(int32_t iWrapMode) = 0; | 147 virtual void SetWrapMode(int32_t iWrapMode) = 0; |
148 }; | 148 }; |
149 | 149 |
150 #endif // XFA_SRC_FDE_FDE_BRUSH_H_ | 150 #endif // XFA_FDE_FDE_BRUSH_H_ |
OLD | NEW |