Index: src/utils/SkShadowPaintFilterCanvas.h |
diff --git a/src/utils/SkShadowPaintFilterCanvas.h b/src/utils/SkShadowPaintFilterCanvas.h |
index 892ec556e5695411a859c5289eca79a01ab0c080..698f6e117388dd5aa14064e7ba4c38bae26a7428 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 setShadowParams(const SkShadowParams ¶ms); |
protected: |
void onDrawPicture(const SkPicture *picture, const SkMatrix *matrix, |
const SkPaint *paint) override; |
@@ -107,6 +108,7 @@ protected: |
void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, |
SkScalar y, const SkPaint &paint) override; |
private: |
+ SkShadowParams fShadowParams; |
typedef SkPaintFilterCanvas INHERITED; |
}; |