Index: xfa/fde/fde_pen.h |
diff --git a/xfa/fde/fde_pen.h b/xfa/fde/fde_pen.h |
index 4dfdd8ac22d17282995c10a67a47caae63a4b463..9253726b810d827026bcca39cae12b744d0732f9 100644 |
--- a/xfa/fde/fde_pen.h |
+++ b/xfa/fde/fde_pen.h |
@@ -9,12 +9,7 @@ |
class IFDE_Pen; |
-#define FDE_PENTYPE_Unknown FDE_BRUSHTYPE_Unknown |
#define FDE_PENTYPE_SolidColor FDE_BRUSHTYPE_Solid |
-#define FDE_PENTYPE_HatchBrush FDE_BRUSHTYPE_Hatch |
-#define FDE_PENTYPE_TextureBrush FDE_BRUSHTYPE_Texture |
-#define FDE_PENTYPE_LinearGradient FDE_BRUSHTYPE_LinearGradient |
-#define FDE_PENTYPE_MAX FDE_BRUSHTYPE_MAX |
#define FDE_DASHSTYLE_Solid 0 |
#define FDE_DASHSTYLE_Dash 1 |
@@ -39,8 +34,8 @@ typedef CFX_ArrayTemplate<FDE_COMPOUNDPATTERN> CFDE_CompoundPatterns; |
class IFDE_Pen { |
public: |
- static IFDE_Pen* Create(); |
virtual ~IFDE_Pen() {} |
+ |
virtual void Release() = 0; |
virtual int32_t GetType() const = 0; |
virtual FX_ARGB GetColor() const = 0; |