Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index a1bb1ba2932910bdefb1061a9b4c09fbdb0aee77..1cf1a1bfb4726c15fe35edec2aec903bc0a09d9d 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -242,6 +242,13 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
const SkPoint& loc = reader->skipT<SkPoint>(); |
canvas->drawImage(image, loc.fX, loc.fY, paint); |
} break; |
+ case DRAW_IMAGE_NINE: { |
+ const SkPaint* paint = fPictureData->getPaint(reader); |
+ const SkImage* image = fPictureData->getImage(reader); |
+ const SkIRect& center = reader->skipT<SkIRect>(); |
+ const SkRect& dst = reader->skipT<SkRect>(); |
+ canvas->drawImageNine(image, center, dst, paint); |
+ } break; |
case DRAW_IMAGE_RECT: { |
const SkPaint* paint = fPictureData->getPaint(reader); |
const SkImage* image = fPictureData->getImage(reader); |