Index: src/effects/SkDiscretePathEffect.cpp |
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp |
index 6765b296a54b9b6c7306860cb18c16ba1aad21a9..ac84a600e3ddb0726916a8bf16dafeac82dd6599 100644 |
--- a/src/effects/SkDiscretePathEffect.cpp |
+++ b/src/effects/SkDiscretePathEffect.cpp |
@@ -128,3 +128,11 @@ void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const { |
buffer.writeScalar(fPerterb); |
buffer.writeUInt(fSeedAssist); |
} |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkDiscretePathEffect::toString(SkString* str) const { |
+ str->appendf("SkDiscretePathEffect: ("); |
+ str->appendf("segLength: %.2f deviation: %.2f seed %d", fSegLength, fPerterb, fSeedAssist); |
+ str->append(")"); |
+} |
+#endif |