| Index: src/effects/SkDashPathEffect.cpp
|
| diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp
|
| index 8cd703f62fa16df323e8ad5daa70ae7372058300..5296f972d5cef104458b59755192e4378b72acfa 100644
|
| --- a/src/effects/SkDashPathEffect.cpp
|
| +++ b/src/effects/SkDashPathEffect.cpp
|
| @@ -369,3 +369,17 @@ SkFlattenable* SkDashPathEffect::CreateProc(SkReadBuffer& buffer) {
|
| }
|
| return NULL;
|
| }
|
| +
|
| +#ifndef SK_IGNORE_TO_STRING
|
| +void SkDashPathEffect::toString(SkString* str) const {
|
| + str->appendf("SkDashPathEffect: (");
|
| + str->appendf("count: %d phase %.2f intervals: (", fCount, fPhase);
|
| + for (int i = 0; i < fCount; ++i) {
|
| + str->appendf("%.2f", fIntervals[i]);
|
| + if (i < fCount-1) {
|
| + str->appendf(", ");
|
| + }
|
| + }
|
| + str->appendf("))");
|
| +}
|
| +#endif
|
|
|