| Index: src/effects/SkBitmapSource.cpp
|
| diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp
|
| index ff76ab4bba71fd314e371ef7163cc736b7b06f15..fc86f194b059909651518d6c29da3413c316e36b 100644
|
| --- a/src/effects/SkBitmapSource.cpp
|
| +++ b/src/effects/SkBitmapSource.cpp
|
| @@ -83,3 +83,15 @@ bool SkBitmapSource::onFilterImage(Proxy* proxy, const SkBitmap&, const Context&
|
| void SkBitmapSource::computeFastBounds(const SkRect&, SkRect* dst) const {
|
| *dst = fDstRect;
|
| }
|
| +
|
| +#ifndef SK_IGNORE_TO_STRING
|
| +void SkBitmapSource::toString(SkString* str) const {
|
| + str->appendf("SkBitmapSource: (");
|
| + str->appendf("src: (%f,%f,%f,%f) dst: (%f,%f,%f,%f) ",
|
| + fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom,
|
| + fDstRect.fLeft, fDstRect.fTop, fDstRect.fRight, fDstRect.fBottom);
|
| + str->appendf("bitmap: (%d,%d)",
|
| + fBitmap.width(), fBitmap.height());
|
| + str->append(")");
|
| +}
|
| +#endif
|
|
|