Index: src/utils/SkShadowPaintFilterCanvas.h |
diff --git a/src/utils/SkShadowPaintFilterCanvas.h b/src/utils/SkShadowPaintFilterCanvas.h |
index ae449d64f9ef873c41b7bbeb89a72d2a1577106f..79f8a0c30749a950dc94432cad9736ba8cba5f14 100644 |
--- a/src/utils/SkShadowPaintFilterCanvas.h |
+++ b/src/utils/SkShadowPaintFilterCanvas.h |
@@ -35,6 +35,7 @@ public: |
static SkISize ComputeDepthMapSize(const SkLights::Light& light, int maxDepth, |
int width, int height); |
+ void setShadowType(const SkShadowParams& sParams); |
protected: |
void onDrawPicture(const SkPicture *picture, const SkMatrix *matrix, |
const SkPaint *paint) override; |
@@ -105,6 +106,7 @@ protected: |
void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, |
SkScalar y, const SkPaint &paint) override; |
private: |
+ SkShadowParams fShadowParams; |
typedef SkPaintFilterCanvas INHERITED; |
}; |