diff options
Diffstat (limited to 'src/effects/SkTrimPathEffect.cpp')
-rw-r--r-- | src/effects/SkTrimPathEffect.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/effects/SkTrimPathEffect.cpp b/src/effects/SkTrimPathEffect.cpp index 8c3f56e2ba..d63393a4a6 100644 --- a/src/effects/SkTrimPathEffect.cpp +++ b/src/effects/SkTrimPathEffect.cpp @@ -97,6 +97,10 @@ sk_sp<SkFlattenable> SkTrimPE::CreateProc(SkReadBuffer& buffer) { (mode & 1) ? SkTrimPathEffect::Mode::kInverted : SkTrimPathEffect::Mode::kNormal); } +void SkTrimPE::toString(SkString* str) const { + str->appendf("SkTrimPathEffect: (%g %g)", fStartT, fStopT); +} + ////////////////////////////////////////////////////////////////////////////////////////////////// sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { |