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_FDP_INCLUDE_FDE_BRS_H_ | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ |
8 #define XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ | 8 #define XFA_SRC_FDP_INCLUDE_FDE_BRS_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 class IFDE_Path; | |
15 | 14 |
16 #define FDE_BRUSHTYPE_Unknown -1 | 15 #define FDE_BRUSHTYPE_Unknown -1 |
17 #define FDE_BRUSHTYPE_Solid 0 | 16 #define FDE_BRUSHTYPE_Solid 0 |
18 #define FDE_BRUSHTYPE_Hatch 1 | 17 #define FDE_BRUSHTYPE_Hatch 1 |
19 #define FDE_BRUSHTYPE_Texture 2 | 18 #define FDE_BRUSHTYPE_Texture 2 |
20 #define FDE_BRUSHTYPE_LinearGradient 3 | 19 #define FDE_BRUSHTYPE_LinearGradient 3 |
21 #define FDE_BRUSHTYPE_MAX 3 | 20 #define FDE_BRUSHTYPE_MAX 3 |
22 #define FDE_WRAPMODE_Tile 0 | 21 #define FDE_WRAPMODE_Tile 0 |
23 #define FDE_WRAPMODE_TileFlipX 1 | 22 #define FDE_WRAPMODE_TileFlipX 1 |
24 #define FDE_WRAPMODE_TileFlipY 2 | 23 #define FDE_WRAPMODE_TileFlipY 2 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual void SetLinearColors(const FX_ARGB& startingColor, | 141 virtual void SetLinearColors(const FX_ARGB& startingColor, |
143 const FX_ARGB& endingColor) = 0; | 142 const FX_ARGB& endingColor) = 0; |
144 virtual int32_t CountGradientColors() const = 0; | 143 virtual int32_t CountGradientColors() const = 0; |
145 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; | 144 virtual FX_BOOL GetGradientColors(CFDE_GradientColors& colors) const = 0; |
146 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; | 145 virtual FX_BOOL SetGradientColors(const CFDE_GradientColors& colors) = 0; |
147 virtual int32_t GetWrapMode() const = 0; | 146 virtual int32_t GetWrapMode() const = 0; |
148 virtual void SetWrapMode(int32_t iWrapMode) = 0; | 147 virtual void SetWrapMode(int32_t iWrapMode) = 0; |
149 }; | 148 }; |
150 | 149 |
151 #endif // XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ | 150 #endif // XFA_SRC_FDP_INCLUDE_FDE_BRS_H_ |
OLD | NEW |