| Index: src/effects/SkPictureImageFilter.cpp
|
| diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp
|
| index 8075f365d0b400bca40db92688eb3a7001636c66..37d86ce0d2be256bd82e12fcdda26d8f8326823c 100644
|
| --- a/src/effects/SkPictureImageFilter.cpp
|
| +++ b/src/effects/SkPictureImageFilter.cpp
|
| @@ -167,3 +167,17 @@ void SkPictureImageFilter::drawPictureAtLocalResolution(Proxy* proxy, SkBaseDevi
|
| SkIntToScalar(localIBounds.fTop), &paint);
|
| //canvas.drawPicture(fPicture);
|
| }
|
| +
|
| +#ifndef SK_IGNORE_TO_STRING
|
| +void SkPictureImageFilter::toString(SkString* str) const {
|
| + str->appendf("SkPictureImageFilter: (");
|
| + str->appendf("crop: (%f,%f,%f,%f) ",
|
| + fCropRect.fLeft, fCropRect.fTop, fCropRect.fRight, fCropRect.fBottom);
|
| + if (fPicture) {
|
| + str->appendf("picture: (%f,%f,%f,%f)",
|
| + fPicture->cullRect().fLeft, fPicture->cullRect().fTop,
|
| + fPicture->cullRect().fRight, fPicture->cullRect().fBottom);
|
| + }
|
| + str->append(")");
|
| +}
|
| +#endif
|
|
|