Index: src/utils/android/SkAndroidSDKCanvas.cpp |
diff --git a/src/utils/android/SkAndroidSDKCanvas.cpp b/src/utils/android/SkAndroidSDKCanvas.cpp |
index 9e1463d9668733b0b3184867d79754f4f12a1978..e6f802fc5ba6ce8bd3b23beb947113473a376f85 100644 |
--- a/src/utils/android/SkAndroidSDKCanvas.cpp |
+++ b/src/utils/android/SkAndroidSDKCanvas.cpp |
@@ -156,6 +156,13 @@ |
FILTER_PTR(paint); |
fProxyTarget->drawBitmapNine(bitmap, center, dst, filteredPaint); |
} |
+void SkAndroidSDKCanvas::onDrawSprite(const SkBitmap& bitmap, |
+ int left, |
+ int top, |
+ const SkPaint* paint) { |
+ FILTER_PTR(paint); |
+ fProxyTarget->drawSprite(bitmap, left, top, filteredPaint); |
+} |
void SkAndroidSDKCanvas::onDrawVertices(VertexMode vMode, |
int vertexCount, |
const SkPoint vertices[], |