Index: include/utils/SkNWayCanvas.h |
diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h |
index d3f5cca4cdc65803e77f26f53054c42caa65bc83..a90f7d3dea0f0779cd5a4473779eba1eb066dee0 100644 |
--- a/include/utils/SkNWayCanvas.h |
+++ b/include/utils/SkNWayCanvas.h |
@@ -36,6 +36,11 @@ public: |
virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
const SkRect& dst, const SkPaint* paint, |
DrawBitmapRectFlags flags) SK_OVERRIDE; |
+ virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top, |
+ const SkPaint* paint) SK_OVERRIDE; |
+ virtual void drawImageRect(const SkImage* image, const SkRect* src, |
+ const SkRect& dst, |
+ const SkPaint* paint) SK_OVERRIDE; |
virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
const SkPaint*) SK_OVERRIDE; |
virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
@@ -80,7 +85,7 @@ protected: |
virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
const SkPoint texCoords[4], SkXfermode* xmode, |
const SkPaint& paint) SK_OVERRIDE; |
- |
+ |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |