Add SkImage->draw() call with src and dst rects.

Committed: http://code.google.com/p/skia/source/detail?r=10237

R=junov@chromium.org, senorblanco@chromium.org, reed@google.com

Author: arbesfeld@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19729007

git-svn-id: http://skia.googlecode.com/svn/trunk@10274 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 9ae13de..431444d 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -15,6 +15,8 @@
     SkImage_Base(int width, int height) : INHERITED(width, height) {}
 
     virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) = 0;
+    virtual void onDrawRectToRect(SkCanvas*, const SkRect* src, 
+                                  const SkRect& dst, const SkPaint*) = 0;
     virtual GrTexture* onGetTexture() { return NULL; }
 
     // return a read-only copy of the pixels. We promise to not modify them,