Index: src/utils/android/SkAndroidSDKCanvas.cpp |
diff --git a/src/utils/android/SkAndroidSDKCanvas.cpp b/src/utils/android/SkAndroidSDKCanvas.cpp |
index 51064736a1cbfbe8dd2509527388ab9c0289eb9a..e6f802fc5ba6ce8bd3b23beb947113473a376f85 100644 |
--- a/src/utils/android/SkAndroidSDKCanvas.cpp |
+++ b/src/utils/android/SkAndroidSDKCanvas.cpp |
@@ -248,12 +248,34 @@ void SkAndroidSDKCanvas::onDrawImageRect(const SkImage* image, |
} |
void SkAndroidSDKCanvas::onDrawPicture(const SkPicture* picture, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
+ const SkMatrix* matrix, |
+ const SkPaint* paint) { |
FILTER_PTR(paint); |
fProxyTarget->drawPicture(picture, matrix, filteredPaint); |
} |
+void SkAndroidSDKCanvas::onDrawAtlas(const SkImage* atlas, |
+ const SkRSXform xform[], |
+ const SkRect tex[], |
+ const SkColor colors[], |
+ int count, |
+ SkXfermode::Mode mode, |
+ const SkRect* cullRect, |
+ const SkPaint* paint) { |
+ FILTER_PTR(paint); |
+ fProxyTarget->drawAtlas(atlas, xform, tex, colors, count, mode, cullRect, |
+ filteredPaint); |
+} |
+ |
+void SkAndroidSDKCanvas::onDrawImageNine(const SkImage* image, |
+ const SkIRect& center, |
+ const SkRect& dst, |
+ const SkPaint* paint) { |
+ FILTER_PTR(paint); |
+ fProxyTarget->drawImageNine(image, center, dst, filteredPaint); |
+} |
+ |
+ |
void SkAndroidSDKCanvas::onDrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) { |
fProxyTarget->drawDrawable(drawable, matrix); |
} |