aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/Sk2DPathEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects/Sk2DPathEffect.h')
-rw-r--r--include/effects/Sk2DPathEffect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h
index 0a7922e388..5ebadab0d5 100644
--- a/include/effects/Sk2DPathEffect.h
+++ b/include/effects/Sk2DPathEffect.h
@@ -39,6 +39,8 @@ protected:
explicit Sk2DPathEffect(const SkMatrix& mat);
void flatten(SkWriteBuffer&) const override;
+ void toString(SkString* str) const override;
+
private:
SkMatrix fMatrix, fInverse;
bool fMatrixIsInvertible;
@@ -63,6 +65,7 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const override;
+ void toString(SkString* str) const override;
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLine2DPathEffect)
protected:
@@ -90,6 +93,7 @@ public:
return sk_sp<SkPathEffect>(new SkPath2DPathEffect(matrix, path));
}
+ void toString(SkString* str) const override;
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPath2DPathEffect)
protected: