aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 20:21:59 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 20:21:59 +0000
commit4991b8f23482afc1494fd17647421ce68de53331 (patch)
treecab68b2aa8bc017b30a904c6be057d33694c5bcb /include/effects
parent85ec74ca543b13739db1ad55dedd7bdfae4ab1a6 (diff)
Added toString to SkDrawLooper-derived classes
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkBlurDrawLooper.h1
-rw-r--r--include/effects/SkLayerDrawLooper.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/effects/SkBlurDrawLooper.h b/include/effects/SkBlurDrawLooper.h
index c4107612cb..e968857889 100644
--- a/include/effects/SkBlurDrawLooper.h
+++ b/include/effects/SkBlurDrawLooper.h
@@ -43,6 +43,7 @@ public:
virtual void init(SkCanvas*);
virtual bool next(SkCanvas*, SkPaint* paint);
+ SK_DEVELOPER_TO_STRING()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurDrawLooper)
protected:
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h
index 5196af0798..cec78b7466 100644
--- a/include/effects/SkLayerDrawLooper.h
+++ b/include/effects/SkLayerDrawLooper.h
@@ -90,7 +90,7 @@ public:
SkPaint* addLayer(const LayerInfo&);
/**
- * This layer will draw with the original paint, ad the specified offset
+ * This layer will draw with the original paint, at the specified offset
*/
void addLayer(SkScalar dx, SkScalar dy);
@@ -103,6 +103,7 @@ public:
virtual void init(SkCanvas*);
virtual bool next(SkCanvas*, SkPaint* paint);
+ SK_DEVELOPER_TO_STRING()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLayerDrawLooper)
protected: