Index: core/include/fxge/fx_ge.h |
diff --git a/core/include/fxge/fx_ge.h b/core/include/fxge/fx_ge.h |
index 8e9df8c5443efe03109f7ece6833d670b4f32148..fd265a37b7460bd2dc9f8629d337db52e109aeed 100644 |
--- a/core/include/fxge/fx_ge.h |
+++ b/core/include/fxge/fx_ge.h |
@@ -14,6 +14,7 @@ class CFX_Font; |
class CFX_FontMgr; |
class CFX_FontCache; |
class CFX_FaceCache; |
+class CPDF_ShadingPattern; |
class IFX_RenderDeviceDriver; |
class CCodec_ModuleMgr; |
class SkPictureRecorder; |
@@ -215,6 +216,8 @@ class CFX_GraphStateData { |
#define FXRC_BITMASK_OUTPUT 0x400 |
#define FXRC_BYTEMASK_OUTPUT 0x800 |
#define FXRENDER_IMAGE_LOSSY 0x1000 |
+#define FXRC_FILLSTROKE_PATH 0x2000 |
+#define FXRC_SHADING 0x4000 |
#define FXFILL_ALTERNATE 1 |
#define FXFILL_WINDING 2 |
#define FXFILL_FULLCOVER 4 |
@@ -592,6 +595,13 @@ class IFX_RenderDeviceDriver { |
virtual int GetDriverType() { return 0; } |
virtual void ClearDriver() {} |
+ |
+ virtual FX_BOOL DrawShading(CPDF_ShadingPattern* pPattern, |
+ CFX_Matrix* pMatrix, |
+ int alpha, |
+ FX_BOOL bAlphaMode) { |
+ return false; |
+ } |
}; |
class IFX_PSOutput { |