Index: src/effects/SkArcToPathEffect.cpp |
diff --git a/src/effects/SkArcToPathEffect.cpp b/src/effects/SkArcToPathEffect.cpp |
index 79398b3b82dd26ea8648e3abf9750fe0b9db23e6..06cba96109c637a0fd0454b75d51d174e5f3ad37 100644 |
--- a/src/effects/SkArcToPathEffect.cpp |
+++ b/src/effects/SkArcToPathEffect.cpp |
@@ -68,3 +68,11 @@ SkFlattenable* SkArcToPathEffect::CreateProc(SkReadBuffer& buffer) { |
void SkArcToPathEffect::flatten(SkWriteBuffer& buffer) const { |
buffer.writeScalar(fRadius); |
} |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkArcToPathEffect::toString(SkString* str) const { |
+ str->appendf("SkArcToPathEffect: ("); |
+ str->appendf("radius: %f", fRadius); |
+ str->appendf(")"); |
+} |
+#endif |