aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/Sk1DPathEffect.h2
-rw-r--r--include/effects/Sk2DPathEffect.h6
-rw-r--r--include/effects/SkColorFilterImageFilter.h2
-rw-r--r--include/effects/SkComposeImageFilter.h2
-rw-r--r--include/effects/SkCornerPathEffect.h2
-rw-r--r--include/effects/SkDiscretePathEffect.h2
-rw-r--r--include/effects/SkDisplacementMapEffect.h2
-rw-r--r--include/effects/SkDropShadowImageFilter.h1
-rw-r--r--include/effects/SkImageSource.h2
-rw-r--r--include/effects/SkLayerDrawLooper.h2
-rw-r--r--include/effects/SkLumaColorFilter.h2
-rw-r--r--include/effects/SkMagnifierImageFilter.h2
-rw-r--r--include/effects/SkMatrixConvolutionImageFilter.h2
-rw-r--r--include/effects/SkMergeImageFilter.h2
-rw-r--r--include/effects/SkMorphologyImageFilter.h4
-rw-r--r--include/effects/SkOffsetImageFilter.h2
-rw-r--r--include/effects/SkOverdrawColorFilter.h2
-rw-r--r--include/effects/SkPaintImageFilter.h2
-rw-r--r--include/effects/SkPictureImageFilter.h1
-rw-r--r--include/effects/SkTileImageFilter.h2
-rw-r--r--include/effects/SkToSRGBColorFilter.h2
21 files changed, 46 insertions, 0 deletions
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h
index 022505f313..a78aded601 100644
--- a/include/effects/Sk1DPathEffect.h
+++ b/include/effects/Sk1DPathEffect.h
@@ -62,6 +62,8 @@ public:
virtual bool filterPath(SkPath*, const SkPath&,
SkStrokeRec*, const SkRect*) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h
index 3bdf5ded30..841e5b8ab2 100644
--- a/include/effects/Sk2DPathEffect.h
+++ b/include/effects/Sk2DPathEffect.h
@@ -40,6 +40,8 @@ protected:
explicit Sk2DPathEffect(const SkMatrix& mat);
void flatten(SkWriteBuffer&) const override;
+ void toString(SkString* str) const override;
+
private:
SkMatrix fMatrix, fInverse;
bool fMatrixIsInvertible;
@@ -64,6 +66,8 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
@@ -94,6 +98,8 @@ public:
return sk_sp<SkPathEffect>(new SkPath2DPathEffect(matrix, path));
}
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkColorFilterImageFilter.h b/include/effects/SkColorFilterImageFilter.h
index a664490b48..f422b0901a 100644
--- a/include/effects/SkColorFilterImageFilter.h
+++ b/include/effects/SkColorFilterImageFilter.h
@@ -19,6 +19,8 @@ public:
sk_sp<SkImageFilter> input,
const CropRect* cropRect = nullptr);
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkComposeImageFilter.h b/include/effects/SkComposeImageFilter.h
index acde1d65aa..7c86126638 100644
--- a/include/effects/SkComposeImageFilter.h
+++ b/include/effects/SkComposeImageFilter.h
@@ -17,6 +17,8 @@ public:
SkRect computeFastBounds(const SkRect& src) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h
index e1c57e73b6..0f052b880d 100644
--- a/include/effects/SkCornerPathEffect.h
+++ b/include/effects/SkCornerPathEffect.h
@@ -28,6 +28,8 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h
index fc53f2a607..252e6de8a3 100644
--- a/include/effects/SkDiscretePathEffect.h
+++ b/include/effects/SkDiscretePathEffect.h
@@ -35,6 +35,8 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
diff --git a/include/effects/SkDisplacementMapEffect.h b/include/effects/SkDisplacementMapEffect.h
index 1790e4735d..929086cabd 100644
--- a/include/effects/SkDisplacementMapEffect.h
+++ b/include/effects/SkDisplacementMapEffect.h
@@ -39,6 +39,8 @@ public:
SkIRect onFilterNodeBounds(const SkIRect&, const SkMatrix& ctm,
MapDirection, const SkIRect* inputRect) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkDropShadowImageFilter.h b/include/effects/SkDropShadowImageFilter.h
index c86550d178..e8c5740f9d 100644
--- a/include/effects/SkDropShadowImageFilter.h
+++ b/include/effects/SkDropShadowImageFilter.h
@@ -30,6 +30,7 @@ public:
const CropRect* cropRect = nullptr);
SkRect computeFastBounds(const SkRect&) const override;
+ void toString(SkString* str) const override;
Factory getFactory() const override { return CreateProc; }
diff --git a/include/effects/SkImageSource.h b/include/effects/SkImageSource.h
index 11bc7ed690..d25cb6dc36 100644
--- a/include/effects/SkImageSource.h
+++ b/include/effects/SkImageSource.h
@@ -22,6 +22,8 @@ public:
SkRect computeFastBounds(const SkRect& src) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h
index 18a9b93991..10a7274394 100644
--- a/include/effects/SkLayerDrawLooper.h
+++ b/include/effects/SkLayerDrawLooper.h
@@ -75,6 +75,8 @@ public:
bool asABlurShadow(BlurShadowRec* rec) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer);
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h
index 38886f80c2..14f2d4f773 100644
--- a/include/effects/SkLumaColorFilter.h
+++ b/include/effects/SkLumaColorFilter.h
@@ -36,6 +36,8 @@ public:
GrContext*, const GrColorSpaceInfo&) const override;
#endif
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkMagnifierImageFilter.h b/include/effects/SkMagnifierImageFilter.h
index 5a383dc140..382f62bc52 100644
--- a/include/effects/SkMagnifierImageFilter.h
+++ b/include/effects/SkMagnifierImageFilter.h
@@ -18,6 +18,8 @@ public:
sk_sp<SkImageFilter> input,
const CropRect* cropRect = nullptr);
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkMatrixConvolutionImageFilter.h b/include/effects/SkMatrixConvolutionImageFilter.h
index ccee2fd2f3..cb4f087a75 100644
--- a/include/effects/SkMatrixConvolutionImageFilter.h
+++ b/include/effects/SkMatrixConvolutionImageFilter.h
@@ -68,6 +68,8 @@ public:
sk_sp<SkImageFilter> input,
const CropRect* cropRect = nullptr);
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkMergeImageFilter.h b/include/effects/SkMergeImageFilter.h
index 978c07ecbe..5fc6bcb010 100644
--- a/include/effects/SkMergeImageFilter.h
+++ b/include/effects/SkMergeImageFilter.h
@@ -25,6 +25,8 @@ public:
return Make(array, 2, cropRect);
}
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h
index aa9edfd155..ceb4867a79 100644
--- a/include/effects/SkMorphologyImageFilter.h
+++ b/include/effects/SkMorphologyImageFilter.h
@@ -62,6 +62,8 @@ public:
sk_sp<SkImageFilter> input,
const CropRect* cropRect = nullptr);
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
@@ -85,6 +87,8 @@ public:
sk_sp<SkImageFilter> input,
const CropRect* cropRect = nullptr);
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkOffsetImageFilter.h b/include/effects/SkOffsetImageFilter.h
index bbf19a9199..f352a76e07 100644
--- a/include/effects/SkOffsetImageFilter.h
+++ b/include/effects/SkOffsetImageFilter.h
@@ -20,6 +20,8 @@ public:
SkRect computeFastBounds(const SkRect& src) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkOverdrawColorFilter.h b/include/effects/SkOverdrawColorFilter.h
index 37aa81332b..33eb27fcc2 100644
--- a/include/effects/SkOverdrawColorFilter.h
+++ b/include/effects/SkOverdrawColorFilter.h
@@ -32,6 +32,8 @@ public:
GrContext*, const GrColorSpaceInfo&) const override;
#endif
+ void toString(SkString* str) const override;
+
static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer);
Factory getFactory() const override { return CreateProc; }
static void InitializeFlattenables();
diff --git a/include/effects/SkPaintImageFilter.h b/include/effects/SkPaintImageFilter.h
index 8765665fbf..bf7c51b50e 100644
--- a/include/effects/SkPaintImageFilter.h
+++ b/include/effects/SkPaintImageFilter.h
@@ -27,6 +27,8 @@ public:
bool affectsTransparentBlack() const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h
index f3011ad274..0cde3988c5 100644
--- a/include/effects/SkPictureImageFilter.h
+++ b/include/effects/SkPictureImageFilter.h
@@ -25,6 +25,7 @@ public:
*/
static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture, const SkRect& cropRect);
+ void toString(SkString* str) const override;
Factory getFactory() const override { return CreateProc; }
diff --git a/include/effects/SkTileImageFilter.h b/include/effects/SkTileImageFilter.h
index 2310da3881..c2e38823d0 100644
--- a/include/effects/SkTileImageFilter.h
+++ b/include/effects/SkTileImageFilter.h
@@ -28,6 +28,8 @@ public:
MapDirection, const SkIRect* inputRect) const override;
SkRect computeFastBounds(const SkRect& src) const override;
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
protected:
diff --git a/include/effects/SkToSRGBColorFilter.h b/include/effects/SkToSRGBColorFilter.h
index 20264aa3e5..797e9d81dc 100644
--- a/include/effects/SkToSRGBColorFilter.h
+++ b/include/effects/SkToSRGBColorFilter.h
@@ -27,6 +27,8 @@ public:
GrContext*, const GrColorSpaceInfo&) const override;
#endif
+ void toString(SkString* str) const override;
+
Factory getFactory() const override { return CreateProc; }
private: