Index: src/effects/Sk1DPathEffect.cpp |
diff --git a/src/effects/Sk1DPathEffect.cpp b/src/effects/Sk1DPathEffect.cpp |
index 83f684e2ca2bc29b901d1434a2062e37bc16f5ca..3af9887f9c66045b037a7a0da22807955236ae0b 100644 |
--- a/src/effects/Sk1DPathEffect.cpp |
+++ b/src/effects/Sk1DPathEffect.cpp |
@@ -196,3 +196,13 @@ SkScalar SkPath1DPathEffect::next(SkPath* dst, SkScalar distance, |
} |
return fAdvance; |
} |
+ |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkPath1DPathEffect::toString(SkString* str) const { |
+ str->appendf("SkPath1DPathEffect: ("); |
+ // TODO: add path and style |
+ str->appendf("advance: %.2f phase %.2f", fAdvance, fInitialOffset); |
+ str->appendf(")"); |
+} |
+#endif |