Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index f6c16d1c306a1bd9a192ab06f44c8c6fa50efc8c..8dfce7e7ddd93fe44a4057f4eb0ff33f024b215e 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -155,6 +155,17 @@ void SkRecorder::drawBitmapNine(const SkBitmap& bitmap, |
APPEND(DrawBitmapNine, this->copy(paint), delay_copy(bitmap), center, dst); |
} |
+void SkRecorder::drawImage(const SkImage* image, SkScalar left, SkScalar top, |
+ const SkPaint* paint) { |
+ APPEND(DrawImage, this->copy(paint), image, left, top); |
+} |
+ |
+void SkRecorder::drawImageRect(const SkImage* image, const SkRect* src, |
+ const SkRect& dst, |
+ const SkPaint* paint) { |
+ APPEND(DrawImageRect, this->copy(paint), image, this->copy(src), dst); |
+} |
+ |
void SkRecorder::drawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint) { |
APPEND(DrawSprite, this->copy(paint), delay_copy(bitmap), left, top); |
} |