aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-01-26 06:08:52 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-26 06:08:52 -0800
commit42dbfa8651861f2f686879c996aab9f9f82277dd (patch)
tree6a0299231aff19870a0e8a5822ba1d86b816f624 /include/effects
parentb644e9afde5c456a731ec44d8f72b2e1d93b863f (diff)
Add patheffects to debugger printout
TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/872043002
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/Sk1DPathEffect.h1
-rw-r--r--include/effects/Sk2DPathEffect.h4
-rw-r--r--include/effects/SkArcToPathEffect.h1
-rw-r--r--include/effects/SkCornerPathEffect.h1
-rw-r--r--include/effects/SkDashPathEffect.h1
-rw-r--r--include/effects/SkDiscretePathEffect.h1
6 files changed, 9 insertions, 0 deletions
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h
index 7a0ca2ec63..77f8ccc7cd 100644
--- a/include/effects/Sk1DPathEffect.h
+++ b/include/effects/Sk1DPathEffect.h
@@ -60,6 +60,7 @@ public:
virtual bool filterPath(SkPath*, const SkPath&,
SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPath1DPathEffect)
protected:
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h
index bd905e1ba6..7971ef431c 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 SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
+
private:
SkMatrix fMatrix, fInverse;
bool fMatrixIsInvertible;
@@ -60,6 +62,7 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLine2DPathEffect)
protected:
@@ -85,6 +88,7 @@ public:
return SkNEW_ARGS(SkPath2DPathEffect, (matrix, path));
}
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPath2DPathEffect)
protected:
diff --git a/include/effects/SkArcToPathEffect.h b/include/effects/SkArcToPathEffect.h
index ca8819c59f..7a96cd72ce 100644
--- a/include/effects/SkArcToPathEffect.h
+++ b/include/effects/SkArcToPathEffect.h
@@ -24,6 +24,7 @@ public:
bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkArcToPathEffect)
protected:
diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h
index c90aaec16b..7223129c07 100644
--- a/include/effects/SkCornerPathEffect.h
+++ b/include/effects/SkCornerPathEffect.h
@@ -28,6 +28,7 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkCornerPathEffect)
protected:
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h
index ee9c553b6c..923777a8bb 100644
--- a/include/effects/SkDashPathEffect.h
+++ b/include/effects/SkDashPathEffect.h
@@ -51,6 +51,7 @@ public:
DashType asADash(DashInfo* info) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDashPathEffect)
protected:
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h
index bbb09a80df..136d452ae7 100644
--- a/include/effects/SkDiscretePathEffect.h
+++ b/include/effects/SkDiscretePathEffect.h
@@ -39,6 +39,7 @@ public:
virtual bool filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
+ SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDiscretePathEffect)
protected: